Error
public
std.exception
Error
Error_BadDataType
Error_Communication
Error_Connection
Error_InertialCmdFailed
and 4 other children

The generic MicroStrain exception (base class)

Error
Error() : m_description("MSCL has thrown an exception.")

Initializes the Error object with the default description

Error
Error(
const std::string &description
) : m_description(description)

Initializes the Error object with a custom description

Parameters
description
const std::string&

the description of the error to be thrown

what
const char* what () const throw ()

overriding the default std::exception what() function, gets the description of the thrown exception