14 #ifndef LLVM_OBJECT_ERROR_H
15 #define LLVM_OBJECT_ERROR_H
19 #include <system_error>
GenericBinaryError(Twine Msg)
std::error_code make_error_code(object_error e)
void log(raw_ostream &OS) const override
Print an error message to an output stream.
const std::string & getMessage() const
const std::error_category & object_category()
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Error isNotObjectErrorInvalidFileType(llvm::Error Err)
isNotObjectErrorInvalidFileType() is used when looping through the children of an archive after calli...
static ManagedStatic< _object_error_category > error_category
Base class for user error types.
Base class for all errors indicating malformed binary files.
void setErrorCode(std::error_code EC)
Lightweight error class with error context and mandatory checking.
This class implements an extremely fast bulk output stream that can only output to a stream...