stumpless 2.2.0
Loading...
Searching...
No Matches
StumplessException.hpp
Go to the documentation of this file.
1#ifndef __STUMPLESSEXCEPTION_HPP
2#define __STUMPLESSEXCEPTION_HPP
3
4#include <stumpless/error.h>
5#include <stumpless/ErrorId.hpp>
6#include <exception>
7
8namespace stumpless {
9
13 class StumplessException : public std::exception {
14 public:
15
16 struct stumpless_error *equivalent;
17
18 StumplessException( struct stumpless_error *equivalent );
19 static StumplessException *newStumplessException( struct stumpless_error *equivalent );
21 };
22
23}
24
25#endif
A general problem has been encountered by the library.
Definition StumplessException.hpp:13
struct stumpless_error * equivalent
Definition StumplessException.hpp:16
StumplessException(struct stumpless_error *equivalent)
static StumplessException * newStumplessException(struct stumpless_error *equivalent)
Definition AddressFailure.hpp:7
ErrorId
Unique identifiers for library errors.
Definition ErrorId.hpp:11