|
LLVM
5.0.0
|
Generic binary error. More...
#include "llvm/Object/Error.h"
Public Member Functions | |
| GenericBinaryError (Twine Msg) | |
| GenericBinaryError (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 |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::ErrorInfo< GenericBinaryError, BinaryError > | |
| static const void * | classID () |
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.
| GenericBinaryError::GenericBinaryError | ( | Twine | Msg, |
| object_error | ECOverride | ||
| ) |
Definition at line 65 of file Error.cpp.
References llvm::object::make_error_code().
|
inline |
|
override |
1.8.6