@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
: unknown): ThingExpectedError
Parameters:¶
Name |
Type |
---|---|
|
unknown |
Returns: ThingExpectedError
Inherited from: SolidClientError
Defined in: src/thing/thing.ts:418
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
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
Inherited from: SolidClientError.stack
Defined in: node_modules/typescript/lib/lib.es5.d.ts:975