userver: formats::json::Schema::ValidationError Class Reference
Loading...
Searching...
No Matches
formats::json::Schema::ValidationError Class Referencefinal

Detailed Description

Definition at line 89 of file schema.hpp.

Public Member Functions

void Throw () const
 
std::string_view GetValuePath () const
 
std::string_view GetSchemaPath () const
 
std::string_view GetDetailsString () const
 

Member Function Documentation

◆ GetDetailsString()

std::string_view formats::json::Schema::ValidationError::GetDetailsString ( ) const

Describes the specifics of what condition was violated. The exact format of details is unstable and should not be relied upon.

◆ GetSchemaPath()

std::string_view formats::json::Schema::ValidationError::GetSchemaPath ( ) const

Describes the location within the schema which was violated. The exact format of schema path is unstable and should not be relied upon.

◆ GetValuePath()

std::string_view formats::json::Schema::ValidationError::GetValuePath ( ) const

Describes the location within the validated JSON which violates schema. The exact format of value path is unstable and should not be relied upon.

◆ Throw()

void formats::json::Schema::ValidationError::Throw ( ) const

Friends And Related Symbol Documentation

◆ ValidationResult

Definition at line 107 of file schema.hpp.


The documentation for this class was generated from the following file: