|
|
| SchemaError (const SchemaError &)=default |
| |
|
| SchemaError (SchemaError &&)=default |
| |
|
SchemaError & | operator= (const SchemaError &)=default |
| |
|
SchemaError & | operator= (SchemaError &&)=default |
| |
| | SchemaError (const ConfError &err, Json schema) |
| |
| template<typename... Args> |
| | SchemaError (const Conf &conf, Json schema, std::string_view format, Args &&... args) |
| |
|
const Json & | schema () const |
| |
|
const Json & | context () const |
| |
|
SchemaError & | with_context (Json ctx) |
| |
|
| ConfError (const ConfError &)=default |
| |
|
| ConfError (ConfError &&)=default |
| |
|
ConfError & | operator= (const ConfError &)=default |
| |
|
ConfError & | operator= (ConfError &&)=default |
| |
|
| ConfError (Conf conf, const std::string &msg) |
| |
|
| ConfError (Conf conf, const char *msg) |
| |
|
template<typename... Args> |
| | ConfError (Conf conf, std::string_view format, Args &&... args) |
| |
|
std::string | file () const noexcept |
| |
|
std::string | root () const noexcept |
| |
|
const Conf & | conf () const noexcept |
| |
|
const Json & | data () const noexcept |
| |
|
virtual std::string | message () const |
| |
|
| Error (const Error &)=default |
| |
|
| Error (Error &&)=default |
| |
|
Error & | operator= (const Error &)=default |
| |
|
Error & | operator= (Error &&)=default |
| |
|
| Error (std::string what) |
| |
|
template<typename... Args> |
| | Error (std::string_view format, Args &&... args) |
| |
|
const char * | what () const noexcept override |
| |
◆ SchemaError() [1/2]
| fable::SchemaError::SchemaError |
( |
const ConfError & |
err, |
|
|
Json |
schema |
|
) |
| |
|
inline |
◆ SchemaError() [2/2]
template<typename... Args>
| fable::SchemaError::SchemaError |
( |
const Conf & |
conf, |
|
|
Json |
schema, |
|
|
std::string_view |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Construct SchemaError.
- Parameters
-
| conf | Input Conf where error occurred |
| schema | Schema used for validation |
| format | Message format string for fmt::format |
| args | Arguments to message format |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/cloe/checkouts/stable/fable/include/fable/error.hpp