12#ifndef O2_FRAMEWORK_AODNATIVE_ERRORS_H_
13#define O2_FRAMEWORK_AODNATIVE_ERRORS_H_
25 using std::runtime_error::runtime_error;
31 :
FormatError(
"unsupported version " +
std::to_string(version_) +
" of class " + className_ +
" in " + file_),
56 CorruptData(std::string file_, uint64_t offset_, std::string what_)
57 :
FormatError(
"corrupt data in " + file_ +
" at offset " +
std::to_string(offset_) +
": " + what_),
70 IoError(std::string url_, std::string status_)
71 :
FormatError(
"I/O error on " + url_ +
": " + status_),
CorruptData(std::string file_, uint64_t offset_, std::string what_)
Failure of the underlying transport.
IoError(std::string url_, std::string status_)
UnsupportedLayout(std::string what_)
A class version we have no hardcoded layout for.
UnsupportedVersion(std::string className_, int version_, std::string file_)