#include <stlsoft/error/conversion_error.hpp>
Public Types | |
Types | |
typedef conversion_error_base | parent_class_type |
The parent type. | |
typedef conversion_error | class_type |
The type of the current instantiation. | |
typedef std::string | string_type |
The string argument type. | |
typedef int | error_code_type |
The error code type. | |
Public Member Functions | |
Construction | |
conversion_error (string_type const &message, error_code_type code) | |
Constructs an instance from the given message and error code. | |
conversion_error (char const *message, error_code_type code) | |
Constructs an instance from the given message and error code. | |
Accessors | |
error_code_type | get_error_code () const |
error_code_type | get_last_error () const |
typedef conversion_error class_type |
typedef std:: string string_type |
typedef int error_code_type |
The error code type.
conversion_error | ( | string_type const & | message, | |
error_code_type | code | |||
) | [inline] |
Constructs an instance from the given message and error code.
conversion_error | ( | char const * | message, | |
error_code_type | code | |||
) | [inline] |
Constructs an instance from the given message and error code.