userver: /data/code/userver/libraries/protobuf/include/userver/protobuf/json/exceptions.hpp File Reference
Loading...
Searching...
No Matches
exceptions.hpp File Reference

Detailed Description

Exceptions thrown by the JSON utilities.

Definition in file exceptions.hpp.

Go to the source code of this file.

#include <string>
#include <type_traits>
#include <userver/protobuf/exceptions.hpp>
This graph shows which files directly or indirectly include this file:

Classes

class  protobuf::json::ConversionErrorInfo< TErrorCode >
 JSON/protobuf conversion error information. More...
class  protobuf::json::JsonError
 Base exception type for JSON utilities. More...
class  protobuf::json::ConversionErrorBase
 Base exception type for JSON/protobuf conversion errors. More...
class  protobuf::json::ConversionError< TErrorCode >
 JSON/protobuf conversion error. More...

Namespaces

namespace  protobuf
 Top namespace for the userver protobuf library.
namespace  protobuf::json
 Top namespace for the protobuf JSON utilities.

Typedefs

using protobuf::json::ParseErrorInfo = ConversionErrorInfo<ParseErrorCode>
 JSON Value to protobuf message conversion error information.
using protobuf::json::PrintErrorInfo = ConversionErrorInfo<PrintErrorCode>
 Protobuf message to JSON Value conversion error information.
using protobuf::json::ParseError = ConversionError<ParseErrorCode>
 JSON Value to protobuf message conversion error.
using protobuf::json::PrintError = ConversionError<PrintErrorCode>
 Protobuf message to JSON Value conversion error.

Enumerations

enum class  protobuf::json::ParseErrorCode {
  protobuf::json::kUnknownField = 1 ,
  protobuf::json::kUnknownEnum = 2 ,
  protobuf::json::kMultipleOneofFields = 3 ,
  protobuf::json::kInvalidType = 4 ,
  protobuf::json::kInvalidValue = 5
}
 JSON Value to protobuf message conversion error code. More...
enum class  protobuf::json::PrintErrorCode { protobuf::json::kInvalidValue = 1 }
 Protobuf message to JSON Value conversion error code. More...