Exceptions
A collection of BunyipsLib global utilities for handling and managing user exceptions.
Provides automatic swallowing of non-critical exceptions while logging to Logcat and the Driver Station, used to "safeguard" the behaviour of user-space code via runUserMethod and handle.
The EmergencyStop exception can be thrown to bypass the capturing nature of this class.
Author
Lucas Bubner, 2025
Since
1.0.0-pre
Types
Custom exception to be thrown when BunyipsLib should end the OpMode following a critical error. This ensures the Exceptions handler will be called but also allows the OpMode to be ended immediately.
Properties
Maximum number of characters to display in the stacktrace on the Driver Station.
Unique exceptions thrown and caught by handle during the execution of the currently executing OpMode.