|
| | SystemError (std::error_code errorCode, const HintFmt &hf) |
| template<typename... Args> |
| | SystemError (std::error_code errorCode, Args &&... args) |
|
const std::error_code | ec () const & |
|
bool | is (std::errc e) const |
|
template<std::same_as< std::errc >... Rest> |
| bool | is (std::errc e, Rest... rest) const |
| void | throwClone () const override |
|
| BaseError (const BaseError &)=default |
|
BaseError & | operator= (const BaseError &)=default |
|
BaseError & | operator= (BaseError &&) noexcept=default |
|
template<typename... Args> |
| | BaseError (unsigned int status, Args &&... args) |
|
template<typename... Args> |
| | BaseError (const std::string &fs, Args &&... args) |
|
template<typename... Args> |
| | BaseError (const Suggestions &sug, Args &&... args) |
|
| BaseError (HintFmt hint) |
|
| BaseError (ErrorInfo &&e) |
|
| BaseError (const ErrorInfo &e) |
| std::string | message () const |
|
const char * | what () const noexcept override |
|
const std::string & | msg () const |
|
const ErrorInfo & | info () const |
|
void | withExitStatus (unsigned int status) |
|
void | atPos (std::shared_ptr< const Pos > pos) |
|
bool | hasPos () const |
|
void | pushTrace (Trace trace) |
| template<typename... Args> |
| void | addTrace (std::shared_ptr< const Pos > &&pos, std::string_view fs, Args &&... args) |
| void | addTrace (std::shared_ptr< const Pos > &&pos, HintFmt hint, TracePrint print=TracePrint::Default) |
|
bool | hasTrace () const |
| ErrorInfo & | unsafeInfo () |
| void | recalcWhat () const |
To use in catch-blocks. Provides a convenience method to get the portable std::error_code. Use when you want to catch and check an error condition like no_such_file_or_directory (ENOENT) without ifdefs.