|
| #define | S(label, offset, message) |
| #define | S(label, offset, message) |
| #define | WPILIB_ReportError(status, format, ...) |
| | Reports an error to the driver station (using HAL_SendError).
|
| #define | WPILIB_ReportWarning(format, ...) |
| | Reports a warning to the driver station (using HAL_SendError).
|
| #define | WPILIB_MakeError(status, format, ...) |
| | Makes a runtime error exception object.
|
| #define | WPILIB_CheckErrorStatus(status, format, ...) |
| | Checks a status code and depending on its value, either throws a RuntimeError exception, calls ReportError, or does nothing (if no error).
|
| #define | WPILIB_AssertMessage(condition, format, ...) |
| #define | WPILIB_Assert(condition) |
|
| const char * | wpi::GetErrorMessage (int32_t *code) |
| | Gets error message string for an error code.
|
| void | wpi::ReportErrorV (int32_t status, const char *fileName, int lineNumber, const char *funcName, fmt::string_view format, fmt::format_args args) |
| | Reports an error to the driver station (using HAL_SendError).
|
| template<typename... Args> |
| void | wpi::ReportError (int32_t status, const char *fileName, int lineNumber, const char *funcName, fmt::string_view format, Args &&... args) |
| | Reports an error to the driver station (using HAL_SendError).
|
| RuntimeError | wpi::MakeErrorV (int32_t status, const char *fileName, int lineNumber, const char *funcName, fmt::string_view format, fmt::format_args args) |
| | Makes a runtime error exception object.
|
| template<typename... Args> |
| RuntimeError | wpi::MakeError (int32_t status, const char *fileName, int lineNumber, const char *funcName, fmt::string_view format, Args &&... args) |
| | wpi::err::S (ChannelIndexOutOfRange, -45, "Allocating channel that is out of range") S(ResourceAlreadyAllocated |
| Attempted to reuse an allocated resource | wpi::err::S (NullParameter, -5, "A pointer parameter to a method is nullptr") S(Timeout |
| Attempted to reuse an allocated resource A timeout has been exceeded | wpi::err::S (ParameterOutOfRange, -28, "A parameter is out of range") S(SmartDashboardMissingKey |
| Attempted to reuse an allocated resource A timeout has been exceeded SmartDashboard data does not exist | wpi::err::S (CommandIllegalUse, -50, "Illegal use of Command") S(CameraServerError |
| Attempted to reuse an allocated resource A timeout has been exceeded SmartDashboard data does not exist CameraServer error | wpi::err::S (InvalidParameter, -100, "Invalid parameter value") S(AssertionFailure |
| | wpi::warn::S (BadJoystickIndex, 7, "Joystick index is out of range, should be 0-5") S(BadJoystickAxis |