Skip to content

Latest commit

 

History

History
167 lines (90 loc) · 2.43 KB

QueueError.md

File metadata and controls

167 lines (90 loc) · 2.43 KB

RedisSMQ / Docs / API Reference / QueueError

Class: QueueError

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new QueueError(message?): QueueError

Parameters

Name Type
message? string

Returns

QueueError

Inherited from

RedisSMQError.constructor

Properties

cause

Optional cause: unknown

Inherited from

RedisSMQError.cause


message

message: string

Inherited from

RedisSMQError.message


stack

Optional stack: string

Inherited from

RedisSMQError.stack


prepareStackTrace

Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration

▸ (err, stackTraces): any

Optional override for formatting stack traces

Parameters
Name Type
err Error
stackTraces CallSite[]
Returns

any

See

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

Inherited from

RedisSMQError.prepareStackTrace


stackTraceLimit

Static stackTraceLimit: number

Inherited from

RedisSMQError.stackTraceLimit

Accessors

name

get name(): string

Returns

string

Inherited from

RedisSMQError.name

Methods

captureStackTrace

captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Name Type
targetObject object
constructorOpt? Function

Returns

void

Inherited from

RedisSMQError.captureStackTrace