Skip to main content

Module errors

Module errors 

Source
Expand description

Error types, macros, and helpers for Axtra.

This module provides:

  • The AppError enum for unified error handling
  • Error construction macros ([app_error!])
  • TypeScript type generation for error codes
  • Notification integration (Slack, Discord, ntfy, cmdline.io, custom)
  • Automatic error location tracking

See crate-level docs for usage examples.

Structs§

ErrorResponse
SerializableValidationErrors
Represents all validation errors in a serializable form.
ValidationFieldError
Represents a single field validation error.

Enums§

AppError
Unified error type for Axtra APIs.
ErrorCode
Enum of all possible error codes.
ErrorFormat
Supported error output formats.