#include <sbuild-parse-error.h>
Inheritance diagram for sbuild::parse_error< T >:
Public Types | |
typedef error< T >::error_type | error_type |
The enum type providing the error codes for this type. | |
Public Member Functions | |
template<typename C> | |
parse_error (C const &context, error_type error) | |
The constructor. | |
template<typename D> | |
parse_error (error_type error, D const &detail) | |
The constructor. | |
template<typename D> | |
parse_error (size_t line, error_type error, D const &detail) | |
The constructor. | |
template<typename D> | |
parse_error (size_t line, std::string const &group, error_type error, D const &detail) | |
The constructor. | |
template<typename D> | |
parse_error (size_t line, std::string const &group, std::string const &key, error_type error, D const &detail) | |
The constructor. | |
template<typename D> | |
parse_error (std::string const &group, error_type error, D const &detail) | |
The constructor. | |
template<typename D> | |
parse_error (std::string const &group, std::string const &key, error_type error, D const &detail) | |
The constructor. | |
template<typename C> | |
parse_error (C const &context, std::runtime_error const &error) | |
The constructor. | |
parse_error (size_t line, std::runtime_error const &error) | |
The constructor. | |
parse_error (size_t line, std::string const &group, std::runtime_error const &error) | |
The constructor. | |
parse_error (size_t line, std::string const &group, std::string const &key, std::runtime_error const &error) | |
The constructor. | |
parse_error (std::string const &group, std::runtime_error const &error) | |
The constructor. | |
parse_error (std::string const &group, std::string const &key, std::runtime_error const &error) | |
The constructor. |
typedef error<T>::error_type sbuild::parse_error< T >::error_type |
sbuild::parse_error< T >::parse_error | ( | C const & | context, | |
error_type | error | |||
) | [inline] |
The constructor.
context | the context of the error. | |
error | the error code. |
sbuild::parse_error< T >::parse_error | ( | error_type | error, | |
D const & | detail | |||
) | [inline] |
The constructor.
error | the error code. | |
detail | the details of the error. |
sbuild::parse_error< T >::parse_error | ( | size_t | line, | |
error_type | error, | |||
D const & | detail | |||
) | [inline] |
The constructor.
line | the line the error occurred on. | |
error | the error code. | |
detail | the details of the error. |
sbuild::parse_error< T >::parse_error | ( | size_t | line, | |
std::string const & | group, | |||
error_type | error, | |||
D const & | detail | |||
) | [inline] |
The constructor.
line | the line the error occurred on. | |
group | the group the error occurred within. | |
error | the error code. | |
detail | the details of the error. |
sbuild::parse_error< T >::parse_error | ( | size_t | line, | |
std::string const & | group, | |||
std::string const & | key, | |||
error_type | error, | |||
D const & | detail | |||
) | [inline] |
The constructor.
line | the line the error occurred on. | |
group | the group the error occurred within. | |
key | the key the error occurred within. | |
error | the error code. | |
detail | the details of the error. |
sbuild::parse_error< T >::parse_error | ( | std::string const & | group, | |
error_type | error, | |||
D const & | detail | |||
) | [inline] |
The constructor.
group | the group the error occurred within. | |
error | the error code. | |
detail | the details of the error. |
sbuild::parse_error< T >::parse_error | ( | std::string const & | group, | |
std::string const & | key, | |||
error_type | error, | |||
D const & | detail | |||
) | [inline] |
The constructor.
group | the group the error occurred within. | |
key | the key the error occurred within. | |
error | the error code. | |
detail | the details of the error. |
sbuild::parse_error< T >::parse_error | ( | C const & | context, | |
std::runtime_error const & | error | |||
) | [inline] |
The constructor.
context | the context of the error. | |
error | the error. |
sbuild::parse_error< T >::parse_error | ( | size_t | line, | |
std::runtime_error const & | error | |||
) | [inline] |
The constructor.
line | the line the error occurred on. | |
error | the error. |
sbuild::parse_error< T >::parse_error | ( | size_t | line, | |
std::string const & | group, | |||
std::runtime_error const & | error | |||
) | [inline] |
The constructor.
line | the line the error occurred on. | |
group | the group the error occurred within. | |
error | the error. |
sbuild::parse_error< T >::parse_error | ( | size_t | line, | |
std::string const & | group, | |||
std::string const & | key, | |||
std::runtime_error const & | error | |||
) | [inline] |
The constructor.
line | the line the error occurred on. | |
group | the group the error occurred within. | |
key | the key the error occurred within. | |
error | the error. |
sbuild::parse_error< T >::parse_error | ( | std::string const & | group, | |
std::runtime_error const & | error | |||
) | [inline] |
The constructor.
group | the group the error occurred within. | |
error | the error. |
sbuild::parse_error< T >::parse_error | ( | std::string const & | group, | |
std::string const & | key, | |||
std::runtime_error const & | error | |||
) | [inline] |
The constructor.
group | the group the error occurred within. | |
key | the key the error occurred within. | |
error | the error. |