@inrupt/solid-client / thing/thing / ValidPropertyUrlExpectedError

Class: ValidPropertyUrlExpectedError

thing/thing.ValidPropertyUrlExpectedError

This error is thrown when a function expected to receive a valid URL to identify a property but received something else.

Hierarchy

Constructors

constructor

new ValidPropertyUrlExpectedError(receivedValue)

Parameters

Name

Type

receivedValue

unknown

Properties

message

message: string

Inherited from

SolidClientError.message

Defined in

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


name

name: string

Inherited from

SolidClientError.name

Defined in

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


receivedProperty

Readonly receivedProperty: unknown


stack

Optional stack: string

Inherited from

SolidClientError.stack

Defined in

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


prepareStackTrace

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

Optional override for formatting stack traces

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

Type declaration

▸ (err, stackTraces): any

Parameters

Name

Type

err

Error

stackTraces

CallSite[]

Returns

any

Defined in

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


stackTraceLimit

Static stackTraceLimit: number

Defined in

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

Methods

captureStackTrace

Static captureStackTrace(targetObject, constructorOpt?): 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