![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <derivation-builder.hh>
Public Member Functions | |
| BuilderFailureError (BuildResult::Failure::Status status, int builderStatus, std::string extraMsgAfter) | |
| Public Member Functions inherited from nix::CloneableError< BuilderFailureError, BuildError > | |
| void | throwClone () const override |
| Public Member Functions inherited from nix::BuildError | |
| template<typename... Args> | |
| BuildError (Status status, Args &&... args) | |
| BuildError (Args args) | |
| BuildError () | |
| bool | operator== (const BuildError &) const noexcept |
| std::strong_ordering | operator<=> (const BuildError &) const noexcept |
| Public Member Functions inherited from nix::CloneableError< BuildError, Error > | |
| void | throwClone () const override |
| Public Member Functions inherited from nix::CloneableError< Error, BaseError > | |
| 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 | |
| int | builderStatus |
| std::string | extraMsgAfter |
| Public Attributes inherited from nix::BuildError | |
| Status | status = MiscFailure |
| bool | isNonDeterministic = false |
Additional Inherited Members | |
| Public Types inherited from nix::BuildError | |
| using | Status = BuildResultFailureStatus |
| 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_ |
Denotes a build failure that stemmed from the builder exiting with a failing exist status.