Module: KubeMQ::ErrorCategory
- Defined in:
- lib/kubemq/error_codes.rb
Overview
Categories for classifying ErrorCode values by failure domain.
Used by classify_error to determine error handling strategy.
Constant Summary collapse
- TRANSIENT =
Temporary failure that may resolve on retry (e.g., network blip).
'TRANSIENT'- TIMEOUT =
Operation exceeded its deadline.
'TIMEOUT'- THROTTLING =
Rate limit or resource quota exceeded.
'THROTTLING'- AUTHENTICATION =
Invalid or missing authentication credentials.
'AUTHENTICATION'- AUTHORIZATION =
Valid credentials but insufficient permissions.
'AUTHORIZATION'- VALIDATION =
Invalid request parameters or preconditions not met.
'VALIDATION'- NOT_FOUND =
Requested resource does not exist.
'NOT_FOUND'- FATAL =
Unrecoverable error — requires operator intervention.
'FATAL'- CANCELLATION =
Operation was intentionally cancelled.
'CANCELLATION'- BACKPRESSURE =
Client-side buffer overflow during disconnection.
'BACKPRESSURE'- RUNTIME =
Error in user-provided callback code.
'RUNTIME'