Skip to content

OotleError

Defined in: ootle/src/errors/index.ts:16

Base class for every exception thrown by the Ootle SDK.

  • Error

new OotleError(message, options?): OotleError

Defined in: ootle/src/errors/index.ts:23

string

ErrorOptions

OotleError

Error.constructor

readonly static optional errorName?: string

Defined in: ootle/src/errors/index.ts:21

The stable name reported by instances of this class. Each SDK subclass sets it to its own class name, because a minified build can rename the class itself.