|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include <hal_core/utilities/error.h>

Public Member Functions | |
| Error ()=default | |
| Error (Error &&)=default | |
| Error & | operator= (const Error &)=default |
| Error & | operator= (Error &&)=default |
| Error (const std::string &file, u32 line, const std::string &message) | |
| Error (const Error &error) | |
| Error (const std::string &file, u32 line, const Error &error) | |
| Error (const std::string &file, u32 line, const Error &error, const std::string &message) | |
| const std::string & | get () const |
Describes a single error, comprising a message and the source location at which the error occurred. Errors are propagated through the API using Result, and can be chained to preserve the context of a failure.
|
default |
|
default |
|
inlineexplicit |
|
inline |
Construct an error from an existing error by copying the original error message.
| [in] | error | - The existing error. |
Definition at line 59 of file error.h.
References hal::error.
Construct an error from an existing error by copying the original error message and appending the current file and line number.
| [in] | file | - Path to the file in which the error occured. |
| [in] | line | - Line number at which the error occured. |
| [in] | error | - The existing error. |
Definition at line 70 of file error.h.
References hal::error.
|
inline |
Construct an error from an existing error by copying the original error message and appending a new message as well as the current file and line number.
| [in] | file | - Path to the file in which the error occured. |
| [in] | line | - Line number at which the error occured. |
| [in] | error | - The existing error. |
| [in] | message | - The error message to append. |
Definition at line 80 of file error.h.
References hal::error.
|
inline |