Skip to main content
zerotal

Documentation


Documentation / @zerotal/core / index / BindingNotFoundError

Class: BindingNotFoundError

Defined in: errors/ContainerErrors.ts:9

Raised when resolving a token that no provider has registered.

Extends

Constructors

Constructor

new BindingNotFoundError(token): BindingNotFoundError

Defined in: errors/ContainerErrors.ts:10

Parameters

token

string

Returns

BindingNotFoundError

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