Encapsulate a stack of Subversion error codes and messages.
More...
#include <svnxx/exception.hpp>
|
virtual const char * | what () const noexcept override |
| Returns the message associated with the top-level error that caused the exception. More...
|
|
virtual int | code () const noexcept |
| Returns the error code associated with the top-level error that caused the exception.
|
|
virtual const char * | name () const noexcept |
| Returns the symbolic name of the error code associated with the top-level error that caused the exception. More...
|
|
virtual std::vector< message > | messages () const |
| Returns the complete list of error messages, including those from nested errors.
|
|
virtual std::vector< message > | traced_messages () const |
| Like error::messages(), but includes debugging traceback. More...
|
|
|
| error (detail::error_ptr err) |
|
std::vector< message > | compile_messages (bool show_traces) const |
|
|
const char *const | m_message |
|
Encapsulate a stack of Subversion error codes and messages.
Definition at line 117 of file exception.hpp.
◆ name()
virtual const char* apache::subversion::svnxx::error::name |
( |
| ) |
const |
|
virtualnoexcept |
Returns the symbolic name of the error code associated with the top-level error that caused the exception.
- Note
- The returned value may be
nullptr
.
◆ traced_messages()
virtual std::vector<message> apache::subversion::svnxx::error::traced_messages |
( |
| ) |
const |
|
inlinevirtual |
Like error::messages(), but includes debugging traceback.
- Note
- Traceback is only available if the Subversion libraries were compiled with tracing enabled.
Definition at line 209 of file exception.hpp.
◆ what()
virtual const char* apache::subversion::svnxx::error::what |
( |
| ) |
const |
|
overridevirtualnoexcept |
Returns the message associated with the top-level error that caused the exception.
- Note
- the returned string is valid only as long as this
error
object is in scope.
The documentation for this class was generated from the following file: