LLVM: llvm::object::GenericBinaryError Class Reference (original) (raw)
Generic binary error. More...
#include "[llvm/Object/Error.h](llvm%5F2Object%5F2Error%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| GenericBinaryError (const Twine &Msg) | |
| GenericBinaryError (const Twine &Msg, object_error ECOverride) | |
| const std::string & | getMessage () const |
| void | log (raw_ostream &OS) const override |
| Public Member Functions inherited from llvm::ErrorInfo< GenericBinaryError, BinaryError > | |
| const void * | dynamicClassID () const override |
| bool | isA (const void *const ClassID) const override |
| Static Public Attributes | |
|---|---|
| static char | ID = 0 |
Generic binary error.
For errors that don't require their own specific sub-error (most errors) this class can be used to describe the error via a string message.
Definition at line 67 of file Error.h.
| GenericBinaryError::GenericBinaryError | ( | const Twine & | Msg | ) |
|---|
◆ GenericBinaryError() [2/2]
◆ getMessage()
| const std::string & llvm::object::GenericBinaryError::getMessage ( ) const | inline |
|---|
Definition at line 73 of file Error.h.
◆ log()
| void GenericBinaryError::log ( raw_ostream & OS) const | override |
|---|
◆ ID
| char GenericBinaryError::ID = 0 | static |
|---|
Definition at line 70 of file Error.h.
The documentation for this class was generated from the following files: