Skip to content

Class: NetworkError

@kortexya/reasoninglayer


@kortexya/reasoninglayer / NetworkError

Class: NetworkError

Defined in: src/errors.ts:218

Network error.

Wraps fetch connection failures (DNS resolution, connection refused, etc.).

Extends

Constructors

Constructor

new NetworkError(message, cause?): NetworkError

Defined in: src/errors.ts:221

Parameters

message

string

cause?

Error

Returns

NetworkError

Overrides

ReasoningLayerError.constructor

Properties

cause?

optional cause: unknown

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from

ReasoningLayerError.cause


message

message: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from

ReasoningLayerError.message


name

name: string = 'NetworkError'

Defined in: src/errors.ts:219

Overrides

ReasoningLayerError.name


stack?

optional stack: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from

ReasoningLayerError.stack