Skip to content

InvalidArgumentError

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

Raised when builder / helper inputs fail TS-side validation or state-machine checks.

new InvalidArgumentError(message, options?): InvalidArgumentError

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

string

ErrorOptions

InvalidArgumentError

OotleError.constructor

readonly static errorName: "InvalidArgumentError" = "InvalidArgumentError"

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

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.

OotleError.errorName