Types
@system-inc/base-foundation · 515c140 · 3 symbols
BaseErrorOptions
Members
cause?:unknownThe underlying cause of the error.
errorCode?:stringApplication-specific error code for programmatic error handling.
extensions?:Readonly<JsonObject>Any additional information related to the error.
name?:stringThe name of the error type.
stack?:stringThe stack trace of the error.
statusCode?:numberThe HTTP status code associated with the error.
ErrorCode
Framework-level error codes. Modules and applications extend this by unioning in their own error code types:
Designed to be tree-shakeable — only imported error code constants are included in the final bundle.
A JSON-serializable representation of a single validation failure.
Mirrors the framework's runtime @base/foundation/validation/ValidationError | ValidationError in wire-friendly form: flat, path-addressed, with a map of failed rule names to messages.