anErrorPortal function
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,
);
}