@inrupt/solid-client / interfaces / SolidClientError

Class: SolidClientError

interfaces.SolidClientError

Errors thrown by solid-client extend this class, and can thereby be distinguished from errors thrown in lower-level libraries.

since 1.2.0

Hierarchy

Table of contents

Constructors

Constructors

constructor

+ new SolidClientError(message?: string): SolidClientError

Parameters:

Name

Type

message?

string

Returns: SolidClientError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:978

Properties

message

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:973


prepareStackTrace

Optional prepareStackTrace: undefined | (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Defined in: node_modules/@types/node/globals.d.ts:140


stack

Optional stack: undefined | string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:975


stackTraceLimit

stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:142

Methods

captureStackTrace

captureStackTrace(targetObject: Object, constructorOpt?: Function): void

Create .stack property on a target object

Parameters:

Name

Type

targetObject

Object

constructorOpt?

Function

Returns: void

Defined in: node_modules/@types/node/globals.d.ts:133