Exceptions
The consolidated exception hierarchy raised by services and integrations (see ADR-009).
micboard.exceptions
Custom exceptions for django-micboard.
Provides structured error handling with clear error codes and details for debugging and API responses.
MicboardError
Bases: Exception
Base exception for all micboard errors.
Provides structured exception handling with error codes and details.
ManufacturerNotSupportedError
Bases: MicboardError
Raised when manufacturer is not supported.
HardwareNotFoundError
Bases: MicboardError
Raised when hardware is not found.
HardwareValidationError
Bases: MicboardError
Raised when hardware data is invalid.
OrganizationDeviceQuotaExceededError
Bases: MicboardError
Raised when a tenant-scoped chassis creation would exceed its quota.
APIError
Bases: MicboardError
Base error for bounded manufacturer API operations.
APIRateLimitError
Bases: APIError
Raised when a manufacturer API rate limit is exceeded.
APIAuthenticationError
Bases: APIError
Raised when manufacturer API authentication fails.
APITimeoutError
Bases: APIError
Raised when a manufacturer API operation times out.
LocationNotFoundError
Bases: MicboardError
Raised when location is not found.
SettingNotFoundError
Bases: MicboardError
Raised when a required setting cannot be resolved.
AdminAuditSetupError
Bases: MicboardError
Raised when the live admin cannot be audited safely.
SubscriptionLeaseLostError
Bases: MicboardError
Raised when another worker owns a realtime supervisor lease.
ServiceError
Bases: MicboardError
Raised when service operation fails.
DiscoveryError
Bases: MicboardError
Raised when device discovery fails.
LocationAlreadyExistsError
Bases: MicboardError
Raised when a location with the given name already exists.
