Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A nix::EvalError
was encountered.
More...
#include <exceptions.hh>
Public Member Functions | |
NixEvalException (std::string_view contextMsg, const nix::EvalError &err) | |
error_category | getErrorCode () const noexcept override |
std::string_view | getCategoryMessage () const noexcept override |
![]() | |
FloxException (std::string_view contextMsg) | |
Create a generic exception with a custom message. | |
FloxException (std::string_view contextMsg, std::string_view caughtMsg) | |
Create a generic exception with a custom message and information from a child error. | |
FloxException (std::string_view categoryMsg, std::optional< std::string > contextMsg, std::optional< std::string > caughtMsg) | |
Directly initialize a FloxException with a custom category message, (optional) context, and (optional) information from a child error. | |
virtual error_category | getErrorCode () const noexcept |
std::optional< std::string > | getContextMessage () const noexcept |
std::optional< std::string > | getCaughtMessage () const noexcept |
virtual std::string_view | getCategoryMessage () const noexcept |
const char * | what () const noexcept override |
Produces an explanatory string about an exception. | |
A nix::EvalError
was encountered.
|
inlineoverridevirtualnoexcept |
Reimplemented from flox::FloxException.
|
inlineoverridevirtualnoexcept |
Reimplemented from flox::FloxException.