Error while handling a BExclusiveBorrow or BBorrow object. More...
Inherits BPrivate::Network::BError.
Public Member Functions | |
BBorrowError (const char *origin) | |
Constructor that sets the origin. | |
virtual const char * | Message () const noexcept override |
Get a pointer to the message describing the borrow error. | |
Public Member Functions inherited from BPrivate::Network::BError | |
BError (BError &&error) noexcept | |
Move constructor. | |
BError (BString origin) | |
Constructor that sets the origin. | |
BError (const BError &error) | |
Copy constructor. | |
BError (const char *origin) | |
Constructor that sets the origin. | |
virtual | ~BError () noexcept |
Standard destructor. | |
virtual BString | DebugMessage () const |
Retrieve a debug message that contains all info in this error. | |
virtual const char * | Message () const noexcept=0 |
Access the string representation of the message. | |
BError & | operator= (BError &&error) noexcept |
Move assignment operator. | |
BError & | operator= (const BError &error) |
Copy assignment operator. | |
virtual const char * | Origin () const noexcept |
Access the string representation of the origin of the error. | |
size_t | WriteToOutput (BDataIO *output) const |
Write the error description to an output. | |
void | WriteToStream (std::ostream &stream) const |
Write the error description to an output stream. | |
Error while handling a BExclusiveBorrow or BBorrow object.
|
inline |
Constructor that sets the origin.
|
inlineoverridevirtualnoexcept |
Get a pointer to the message describing the borrow error.
Implements BPrivate::Network::BError.