Skip to content

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


@valkey/valkey-glide / Errors / RequestError

Class: RequestError

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

Hierarchy

View Summary

Extends

Extended by

Constructors

Constructor

new RequestError(message?): RequestError

Parameters

message?

string

Returns

RequestError

Inherited from

ValkeyError.constructor

Properties

cause?

optional cause: unknown

Inherited from

ValkeyError.cause


message

message: string

Inherited from

ValkeyError.message


stack?

optional stack: string

Inherited from

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

ValkeyError.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number

Inherited from

ValkeyError.stackTraceLimit

Accessors

name

Get Signature

get name(): string

Returns

string

Inherited from

ValkeyError.name

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

ValkeyError.captureStackTrace