RedisSMQ / Docs / API Reference / ProducerMessageExchangeRequiredError
-
↳
ProducerMessageExchangeRequiredError
• new ProducerMessageExchangeRequiredError(message?
): ProducerMessageExchangeRequiredError
Name | Type |
---|---|
message? |
string |
ProducerMessageExchangeRequiredError
• Optional
cause: unknown
• message: string
• Optional
stack: string
▪ Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
▸ (err
, stackTraces
): any
Optional override for formatting stack traces
Name | Type |
---|---|
err |
Error |
stackTraces |
CallSite [] |
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
ProducerError.prepareStackTrace
▪ Static
stackTraceLimit: number
• get
name(): string
string
ProducerError.name
▸ captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
Name | Type |
---|---|
targetObject |
object |
constructorOpt? |
Function |
void