#include <userver/formats/json/schema.hpp>
Contains error details (if any) from Schema::Validate.
Definition at line 53 of file schema.hpp.
◆ GetError()
- Returns
- Validation error,
IsError
must be true.
◆ IsError()
bool formats::json::Schema::ValidationResult::IsError |
( |
| ) |
const |
|
noexcept |
- Returns
true
on validation error.
◆ IsValid()
bool formats::json::Schema::ValidationResult::IsValid |
( |
| ) |
const |
|
noexcept |
- Returns
true
on validation success.
◆ operator bool()
formats::json::Schema::ValidationResult::operator bool |
( |
| ) |
const |
|
explicitnoexcept |
- Returns
true
on validation success.
◆ ThrowIfError()
void formats::json::Schema::ValidationResult::ThrowIfError |
( |
| ) |
&& |
◆ Schema
◆ ValidationError
The documentation for this class was generated from the following file: