Stephen Paulger / ttmath

Dependents:   PIDHeater82 Conceptcontroller_v_1_0 AlarmClockApp COG4050_adxl355_tilt ... more

Embed: (wiki syntax)

« Back to documentation index

RuntimeError Class Reference

RuntimeError Class Reference

#include <ttmathtypes.h>

Inherits ttmath::ExceptionInfo.


Detailed Description

a small class used for reporting errors

in the library is used macro TTMATH_ASSERT which (if the condition in it is false) throw an exception of this type

if you compile with gcc you can get a small benefit from using method Where() (it returns std::string) with the name and the line of a file where the macro TTMATH_ASSERT was used)

Definition at line 594 of file ttmathtypes.h.