@inrupt/solid-client / thing/thing / ThingExpectedError

Class: ThingExpectedError#

thing/thing.ThingExpectedError

This error is thrown when a function expected to receive a Thing but received something else.

since 1.2.0

Hierarchy#

Constructors#

constructor#

new ThingExpectedError(receivedValue)

Parameters#

Name

Type

receivedValue

unknown

Overrides#

SolidClientError.constructor

Defined in#

src/thing/thing.ts:407

Properties#

receivedValue#

Readonly receivedValue: unknown

Defined in#

src/thing/thing.ts:405