LogoRobo.js
Framework

SafetyError

Class: SafetyError

Thrown when a safety limit is violated (reserved prefixes, result size limits).

Extends

Constructors

new SafetyError()

new SafetyError(message, options): SafetyError

Parameters

ParameterType
messagestring
options{ actual: number; cause: Error; limit: number; reason: string; }
options.actual?number
options.cause?Error
options.limit?number
options.reasonstring

Returns

SafetyError

Overrides

FlashcoreError.constructor

Properties

PropertyModifierTypeInherited from
actual?readonlynumber-
codereadonlystringFlashcoreError.code
limit?readonlynumber-
reasonreadonlystring-

On this page