Skip to content

Home / node / Errors / classes / TimeoutError @valkey/valkey-glide


@valkey/valkey-glide / Errors / TimeoutError

Class: TimeoutError

Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0

Hierarchy

View Summary

Extends

Constructors

Constructor

new TimeoutError(message?): TimeoutError

Parameters

message?

string

Returns

TimeoutError

Inherited from

RequestError.constructor

Properties

cause?

optional cause: unknown

Inherited from

RequestError.cause


message

message: string

Inherited from

RequestError.message


stack?

optional stack: string

Inherited from

RequestError.stack


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

RequestError.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number

Inherited from

RequestError.stackTraceLimit

Accessors

name

Get Signature

get name(): string

Returns

string

Inherited from

RequestError.name

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

RequestError.captureStackTrace