Class: InterruptedError
http.InterruptedError
Extendable error class used inside Foscia.
Hierarchy
↳
InterruptedError
↳↳
AbortedError
Constructors
constructor
• new InterruptedError(message
, request
, source
)
Parameters
Name | Type |
---|---|
message | string |
request | HttpRequest |
source | unknown |
Overrides
Defined in
src/http/errors/interruptedError.ts:7
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
request
• request: HttpRequest
Inherited from
Defined in
src/http/errors/httpAdapterError.ts:5
source
• source: unknown
Defined in
src/http/errors/interruptedError.ts:5
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