Framework
SafetyError
Class: SafetyError
Thrown when a safety limit is violated (reserved prefixes, result size limits).
Extends
Constructors
new SafetyError()
new SafetyError(message, options): SafetyErrorParameters
| Parameter | Type |
|---|---|
message | string |
options | { actual: number; cause: Error; limit: number; reason: string; } |
options.actual? | number |
options.cause? | Error |
options.limit? | number |
options.reason | string |
Returns
Overrides
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
actual? | readonly | number | - |
code | readonly | string | FlashcoreError.code |
limit? | readonly | number | - |
reason | readonly | string | - |
