CHAN.RUN

ensure

NamedFaultError

A fault error whose name is known at the type level.

NamedFaultError<N>

A fault error whose name is known at the type level.

Extends

Type Parameters

Type Parameter
N extends string

Properties

cause?

ts
cause?: unknown;

Inherited from

FaultError.cause


code

ts
readonly code: string;

Inherited from

FaultError.code


isFault

ts
readonly isFault: true;

Inherited from

FaultError.isFault


message

ts
message: string;

Inherited from

FaultError.message


name

ts
readonly name: N;

Overrides

FaultError.name


stack?

ts
stack?: string;

Inherited from

FaultError.stack