Class that represents an error.
More...
Constructs an error from an identifier
- Parameters
-
[in] | id | Identifier of the error |
Copy constructor. Constructs an error from a copy of the content of another error
- Parameters
-
[in] | e | Another error to be used as a source with which to initialize the contents of this error |
Adds a detail into a collection of details associated with this error. This class becomes an owner of the detail
- Parameters
-
- Returns
- Reference to this object
Adds a floating-point detail into a collection of details associated with this error
- Parameters
-
[in] | id | Identifier of the detail |
[in] | value | Value of the detail |
- Returns
- Reference to this object
Adds an integer detail into a collection of details associated with this error
- Parameters
-
[in] | id | Identifier of the detail |
[in] | value | Value of the detail |
- Returns
- Reference to this object
Adds a string detail into a collection of details associated with this error
- Parameters
-
[in] | id | Identifier of the detail |
[in] | value | Value of the detail |
- Returns
- Reference to this object
Create an instance of the class with the given arguments
- Returns
- pointer to the new instance
const char* description |
( |
| ) |
const |
Returns the word description of the error
- Returns
- Description of the error
Access to error details list
- Returns
- pointer to the top of error details list
Returns a description of the error
- Returns
- Identifier of this error
Sets an identifier of the error
- Parameters
-
[in] | id | Identifier of the error |
The documentation for this class was generated from the following file: