Home / node / Errors / classes / ClosingError @valkey/valkey-glide
@valkey/valkey-glide / Errors / ClosingError
Class: ClosingError
Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
Hierarchy
Extends
Constructors
Constructor
new ClosingError(
message?
):ClosingError
Parameters
message?
string
Returns
ClosingError
Inherited from
Properties
cause?
optional
cause:unknown
Inherited from
message
message:
string
Inherited from
stack?
optional
stack:string
Inherited from
prepareStackTrace()?
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Optional override for formatting stack traces
Parameters
err
Error
stackTraces
CallSite
[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
stackTraceLimit
static
stackTraceLimit:number
Inherited from
Accessors
name
Get Signature
get name():
string
Returns
string
Inherited from
Methods
captureStackTrace()
static
captureStackTrace(targetObject
,constructorOpt?
):void
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Function
Returns
void