Error.h File Reference
#include "lidar/Base.h"
#include <exception>
Go to the source code of this file.
Classes |
| class | Error |
| | Error is the base class for all LiDAR SDK errors. More...
|
| class | OSError |
| | OSError extends Error by using errno or GetLastError() to build the text description of the error. More...
|
Defines |
| #define | THROW_LIBRARY_ERROR(code) throw Error(__FILE__, __FUNCTION__, __LINE__, code) |
| | Use this to throw runtime-based errors.
|
| #define | THROW_OS_ERROR() throw OSError(__FILE__, __FUNCTION__, __LINE__) |
| | Use this to throw errors in response to OS errors.
|
Define Documentation
| #define THROW_LIBRARY_ERROR |
( |
code |
|
) |
throw Error(__FILE__, __FUNCTION__, __LINE__, code) |
| #define THROW_OS_ERROR |
( |
|
) |
throw OSError(__FILE__, __FUNCTION__, __LINE__) |