![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| template<typename... Args> | |
| FileTransferError (FileTransfer::Error error, std::optional< std::string > response, Args &&... args) | |
| Public Member Functions inherited from nix::CloneableError< FileTransferError, Error > | |
| void | throwClone () const override |
| Public Member Functions inherited from nix::BaseError | |
| 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 |
Public Attributes | |
| FileTransfer::Error | error |
| std::optional< std::string > | response |
| intentionally optional | |
Additional Inherited Members | |
| Protected Member Functions inherited from nix::BaseError | |
| const std::string & | calcWhat () const |
| Protected Attributes inherited from nix::BaseError | |
| ErrorInfo | err |
| std::optional< std::string > | what_ |