MrSID Decode SDK for LiDAR Reference Manual  1.1.2.4045
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...
 

Macros

#define THROW_LIBRARY_ERROR(code)   throw Error(__FILE__, __FUNCTION__, __LINE__, code)
 Use this to throw runtime-based errors. More...
 
#define THROW_OS_ERROR()   throw OSError(__FILE__, __FUNCTION__, __LINE__)
 Use this to throw errors in response to OS errors. More...
 

Macro Definition Documentation

#define THROW_LIBRARY_ERROR (   code)    throw Error(__FILE__, __FUNCTION__, __LINE__, code)

Definition at line 21 of file Error.h.

#define THROW_OS_ERROR ( )    throw OSError(__FILE__, __FUNCTION__, __LINE__)

Definition at line 25 of file Error.h.


LizardTech