#include <userver/formats/json/schema.hpp>
Contains error details (if any) from Schema::Validate.
Definition at line 52 of file schema.hpp.
Public Member Functions | |
| ValidationResult () noexcept | |
| Creates an IsValid result. | |
| ValidationResult (ValidationResult &&) noexcept | |
| ValidationResult & | operator= (ValidationResult &&) noexcept |
| operator bool () const noexcept | |
| bool | IsValid () const noexcept |
| bool | IsError () const noexcept |
| void | ThrowIfError () && |
| ValidationError | GetError () && |
| ValidationError formats::json::Schema::ValidationResult::GetError | ( | ) | && |
|
noexcept |
|
noexcept |
|
explicitnoexcept |
| void formats::json::Schema::ValidationResult::ThrowIfError | ( | ) | && |
| SchemaValidationException | on validation error. |
|
friend |
Definition at line 79 of file schema.hpp.
|
friend |
Definition at line 80 of file schema.hpp.