Skip to main content

errors/base-error

Classes

abstract BaseError<T>

Extends

  • Error

Extended by

Type parameters

Type parameterValue
T extends objectErrorBaseParameters

Constructors

new BaseError()

new BaseError<T>(message, params): BaseError<T>

Parameters
ParameterType
messagestring
paramsT
Returns

BaseError<T>

Overrides

Error.constructor

Source

lib/errors/base-error.ts:9

Methods

compileMessage()

protected compileMessage(message, params): string

Parameters
ParameterType
messagestring
paramsT
Returns

string

Source

lib/errors/base-error.ts:14