class ViewDomainFailure<F = unknown> extends ViewDomainFailure_base<{
readonly message: string;
readonly failure: unknown;
readonly requestId: string | undefined;
}> The declared failure of a command or operation ([RunicFailure] in .NET): failure is the value the generated client decoded, such as { $case: "titleRequired" }. Handle it with Effect.catchTag("ViewDomainFailure", ...) or, for a $case union, with catchCase .
Constructors
constructor
constructor(args: {
readonly message: string;
readonly failure: F;
readonly requestId: string | undefined;
}); No documentation.
Properties
failure
readonly failure: F; No documentation.