Skip to content

@saflib/identity-db


Class: UserNotFoundError

Extends

Constructors

Constructor

new UserNotFoundError(message?): UserNotFoundError

Parameters

ParameterType
message?string

Returns

UserNotFoundError

Inherited from

IdentityDatabaseError.constructor

Constructor

new UserNotFoundError(message?, options?): UserNotFoundError

Parameters

ParameterType
message?string
options?ErrorOptions

Returns

UserNotFoundError

Inherited from

IdentityDatabaseError.constructor

Properties

cause?

optional cause: unknown

Inherited from

IdentityDatabaseError.cause


message

message: string

Inherited from

IdentityDatabaseError.message


name

name: string

Inherited from

IdentityDatabaseError.name


stack?

optional stack: string

Inherited from

IdentityDatabaseError.stack


prepareStackTrace()?

static optional prepareStackTrace: (err, stackTraces) => any

Optional override for formatting stack traces

Parameters

ParameterType
errError
stackTracesCallSite[]

Returns

any

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from

IdentityDatabaseError.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number

Inherited from

IdentityDatabaseError.stackTraceLimit

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

IdentityDatabaseError.captureStackTrace