Skip to main content
zerotal

Documentation


Documentation / @zerotal/core / index / ConfigError

Class: ConfigError

Defined in: errors/ConfigError.ts:8

Raised when configuration is invalid or missing.

Extends

Constructors

Constructor

new ConfigError(message): ConfigError

Defined in: errors/ConfigError.ts:9

Parameters

message

string

Returns

ConfigError

Overrides

ZerotalError.constructor

Properties

code

readonly code: string

Defined in: errors/ZerotalError.ts:18

Inherited from

ZerotalError.code


status

readonly status: number = 500

Defined in: errors/ZerotalError.ts:19

Inherited from

ZerotalError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: errors/ZerotalError.ts:20

Inherited from

ZerotalError.context