Skip to content

Latest commit

 

History

History
153 lines (82 loc) · 2.7 KB

QueueHasRunningConsumersError.md

File metadata and controls

153 lines (82 loc) · 2.7 KB

RedisSMQ / Docs / API Reference / QueueHasRunningConsumersError

Class: QueueHasRunningConsumersError

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new QueueHasRunningConsumersError(): QueueHasRunningConsumersError

Returns

QueueHasRunningConsumersError

Overrides

QueueError.constructor

Properties

cause

Optional cause: unknown

Inherited from

QueueError.cause


message

message: string

Inherited from

QueueError.message


stack

Optional stack: string

Inherited from

QueueError.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

QueueError.prepareStackTrace


stackTraceLimit

Static stackTraceLimit: number

Inherited from

QueueError.stackTraceLimit

Accessors

name

get name(): string

Returns

string

Inherited from

QueueError.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

QueueError.captureStackTrace