|
core-adapters 0.1.2
Third-party adapters for snicholls-core: nanobind helpers, nlohmann/json hooks, the snicholls_core Python package
|
A violated precondition of a bound function: snicholls_core.errors.PreconditionError (a ValueError).
More...
#include <snicholls/core_adapters/nanobind/errors.hpp>
Public Member Functions | |
| precondition_error (const std::string &what) | |
| Constructs it. | |
A violated precondition of a bound function: snicholls_core.errors.PreconditionError (a ValueError).
Core asserts its preconditions; a binding checks them first with require, because Python callers pass anything.
Definition at line 89 of file errors.hpp.
|
inlineexplicit |