![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| SymlinkNotAllowed (CanonPath path) | |
| template<typename... Args> | |
| SymlinkNotAllowed (CanonPath path, const std::string &fs, Args &&... args) | |
| SymlinkNotAllowed (OsCanonPath path) | |
| template<typename... Args> | |
| SymlinkNotAllowed (OsCanonPath path, const std::string &fs, Args &&... args) | |
| Public Member Functions inherited from nix::CloneableError< SymlinkNotAllowed, 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 | |
| std::variant< CanonPath, OsCanonPath > | path |
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_ |
| std::variant<CanonPath, OsCanonPath> nix::SymlinkNotAllowed::path |
Either a portable path, or an OS-native canonical relative path (relative to whichever directory handle the operation started from).