Search documentation of bb

# BB.Error.Safety (bb v0.17.0)

Copy Markdown View Source

Safety system error classes.

These errors represent safety-critical violations that require immediate response. All safety errors have `:critical` severity and trigger automatic disarm when handled by the safety system.

Safety errors should be raised when:

- Physical limits are exceeded (position, velocity, torque)
- Collision risk is detected
- Emergency stop is triggered
- Disarm callbacks fail (hardware may be in unsafe state)