Class: ExpectedRunFailureError
core.ExpectedRunFailureError
Error which occurs on "xxxOrFail" runners.
It can be handled globally by the underlying application (e.g. to display a 404 Not Found page).
Hierarchy
↳
ExpectedRunFailureError
Constructors
constructor
• new ExpectedRunFailureError(message
)
Construct a new FosciaError. Prefix the given message with "[foscia]".
Parameters
Name | Type |
---|---|
message | string |
Inherited from
Defined in
src/core/errors/fosciaError.ts:10
Properties
cause
• Optional
cause: unknown
Inherited from
Defined in
website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.error.d.ts:24
message
• message: string
Inherited from
Defined in
website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1068
name
• name: string
Inherited from
Defined in
website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1067
stack
• Optional
stack: string
Inherited from
Defined in
website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1069