anErrorPortal function

ErrorPortal anErrorPortal({
  1. String scheme = 'https',
  2. String host = 'docs.raichu.cluster.atomi.cloud',
  3. String landscape = 'raichu',
  4. String platform = 'dotnet',
  5. String service = 'user',
  6. String module = 'api',
})

Builds an ErrorPortal for tests, defaulting to a stable, realistic shape.

Implementation

ErrorPortal anErrorPortal({
  String scheme = 'https',
  String host = 'docs.raichu.cluster.atomi.cloud',
  String landscape = 'raichu',
  String platform = 'dotnet',
  String service = 'user',
  String module = 'api',
}) {
  return ErrorPortal(
    scheme: scheme,
    host: host,
    landscape: landscape,
    platform: platform,
    service: service,
    module: module,
  );
}