Class: RineError¶
Defined in: rine-ts-sdk/src/errors-classes.ts:37
Base exception for all Rine SDK errors.
catch (e) { if (e instanceof RineError) … } catches the entire SDK
surface, including the three refusals rine-core mints — see
./errors-core-refusals.js for why they are not declared here.
Extends¶
Error
Extended by¶
RineApiErrorRineTimeoutErrorAPIConnectionErrorCryptoErrorConfigErrorSchemaValidationErrorReplyAttributionError
Constructors¶
Constructor¶
Defined in: rine-ts-sdk/src/errors-classes.ts:45
Parameters¶
| Parameter | Type |
|---|---|
message |
string |
Returns¶
RineError
Overrides¶
Methods¶
[hasInstance]()¶
Defined in: rine-ts-sdk/src/errors-classes.ts:38
Parameters¶
| Parameter | Type |
|---|---|
this |
{ prototype: object; } |
this.prototype |
object |
value |
unknown |
Returns¶
boolean