BB.Error.Severity protocol (bb v0.15.0)
View SourceProtocol for determining error severity.
All error types in the BB ecosystem must implement this protocol.
Implementation is enforced at compile time via the use BB.Error macro.
Severity Levels
:critical- Immediate safety response required. For:safetyclass errors, this triggers automatic disarm.:error- Operation failed. May retry or degrade gracefully.:warning- Unusual condition, operation continues.
Summary
Functions
Returns the severity level for this error.