Expand description
Error handling module for the microsandbox server.
This module provides comprehensive error handling functionality including:
- Custom error types for server operations
- Error codes and responses for API communication
- Authentication and authorization error handling
- Validation error handling
The module implements:
- Error types with detailed error messages
- HTTP status code mapping
- Serializable error responses for API clients
- Structured error codes for frontend handling
Enums§
- Authentication
Error - Represents different types of authentication failures
- Authorization
Error - Represents authorization errors
- Error
Code - Error code structure to be sent to frontend
- Microsandbox
Server Error - Error returned when an unexpected internal error occurs
- Server
Error - Represents all possible errors that can occur in the application
- Validation
Error - Represents validation errors
Type Aliases§
- Microsandbox
Server Result - The result of microsandbox-server operations in general.
- Server
Result - The result of server-related operations.