@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#
-
↳
ThingExpectedError
Constructors#
constructor#
• new ThingExpectedError(receivedValue
)
Parameters#
Name |
Type |
---|---|
|
|
Overrides#
Defined in#
src/thing/thing.ts:407
Properties#
receivedValue#
• Readonly
receivedValue: unknown
Defined in#
src/thing/thing.ts:405