Extends
Error
Constructors
Constructor
Parameters
code
SpendControlErrorCode
The error code identifying the violation type.
message
string
Human-readable error message.
details?
SpendControlErrorDetails = {}
Optional structured context for the error.
Returns
SpendControlError
Overrides
Properties
code
- Identifies the type of violation.
details
- Structured context for the error (always defined, may be empty).