25 #ifndef TBX_OSERROR_H_ 26 #define TBX_OSERROR_H_ 47 std::runtime_error(err->errmess),
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
int number() const
Return the OS error number.
Definition: oserror.h:55
OsError(_kernel_oserror *err)
Construct from an OS error.
Definition: oserror.h:46
Class representing an error generated by a call to a RISC OS routine (SWI).
Definition: oserror.h:38
void raise_os_error(_kernel_oserror *err)
Function to throw a OS error as the OSError class.
Definition: oserror.h:66