sbuild
1.4.26
|
Custom error. More...
#include <sbuild-custom-error.h>
Public Types | |
typedef error< T >::error_type | error_type |
The enum type providing the error codes for this type. | |
Public Member Functions | |
custom_error (error_type error) | |
The constructor. | |
template<typename C > | |
custom_error (C const &context, error_type error) | |
The constructor. | |
template<typename D > | |
custom_error (error_type error, D const &detail) | |
The constructor. | |
template<typename D , typename E > | |
custom_error (error_type error, D const &detail, E const &detail2) | |
The constructor. | |
template<typename D , typename E , typename F > | |
custom_error (error_type error, D const &detail, E const &detail2, F const &detail3) | |
The constructor. | |
template<typename C , typename D > | |
custom_error (C const &context, error_type error, D const &detail) | |
The constructor. | |
template<typename C , typename D , typename E > | |
custom_error (C const &context, error_type error, D const &detail, E const &detail2) | |
The constructor. | |
template<typename C , typename D , typename E > | |
custom_error (C const &context1, D const &context2, error_type error, E const &detail) | |
The constructor. | |
template<typename C , typename D , typename E , typename F > | |
custom_error (C const &context1, D const &context2, error_type error, E const &detail, F const &detail2) | |
The constructor. | |
custom_error (std::runtime_error const &error) | |
The constructor. | |
custom_error (error_base const &error) | |
The constructor. | |
template<typename C > | |
custom_error (C const &context, std::runtime_error const &error) | |
The constructor. | |
template<typename C > | |
custom_error (C const &context, error_base const &error) | |
The constructor. | |
virtual | ~custom_error () throw () |
The destructor. |
Custom error.
sbuild::custom_error< T >::custom_error | ( | error_type | error | ) | [inline] |
The constructor.
error | the error code. |
sbuild::custom_error< T >::custom_error | ( | C const & | context, |
error_type | error | ||
) | [inline] |
The constructor.
context | the context of the error. |
error | the error code. |
sbuild::custom_error< T >::custom_error | ( | error_type | error, |
D const & | detail | ||
) | [inline] |
The constructor.
error | the error code. |
detail | the details of the error. |
sbuild::custom_error< T >::custom_error | ( | error_type | error, |
D const & | detail, | ||
E const & | detail2 | ||
) | [inline] |
The constructor.
error | the error code. |
detail | the details of the error. |
detail2 | additional details of the error. |
sbuild::custom_error< T >::custom_error | ( | error_type | error, |
D const & | detail, | ||
E const & | detail2, | ||
F const & | detail3 | ||
) | [inline] |
The constructor.
error | the error code. |
detail | the details of the error. |
detail2 | additional details of the error. |
detail3 | additional details of the error. |
sbuild::custom_error< T >::custom_error | ( | C const & | context, |
error_type | error, | ||
D const & | detail | ||
) | [inline] |
The constructor.
context | the context of the error. |
error | the error code. |
detail | the details of the error. |
sbuild::custom_error< T >::custom_error | ( | C const & | context, |
error_type | error, | ||
D const & | detail, | ||
E const & | detail2 | ||
) | [inline] |
The constructor.
context | the context of the error. |
error | the error code. |
detail | the details of the error. |
detail2 | additional details of the error. |
sbuild::custom_error< T >::custom_error | ( | C const & | context1, |
D const & | context2, | ||
error_type | error, | ||
E const & | detail | ||
) | [inline] |
The constructor.
context1 | the context of the error. |
context2 | additional context of the error. |
error | the error code. |
detail | the details of the error. |
sbuild::custom_error< T >::custom_error | ( | C const & | context1, |
D const & | context2, | ||
error_type | error, | ||
E const & | detail, | ||
F const & | detail2 | ||
) | [inline] |
The constructor.
context1 | the context of the error. |
context2 | additional context of the error. |
error | the error code. |
detail | the details of the error. |
detail2 | additional details of the error. |
sbuild::custom_error< T >::custom_error | ( | std::runtime_error const & | error | ) | [inline] |
The constructor.
error | the error. |
sbuild::custom_error< T >::custom_error | ( | error_base const & | error | ) | [inline] |
The constructor.
error | the error. |
sbuild::custom_error< T >::custom_error | ( | C const & | context, |
std::runtime_error const & | error | ||
) | [inline] |
The constructor.
context | the context of the error. |
error | the error. |
sbuild::custom_error< T >::custom_error | ( | C const & | context, |
error_base const & | error | ||
) | [inline] |
The constructor.
context | the context of the error. |
error | the error. |