Class DescriptorValidationException (3.23.0)

public sealed class DescriptorValidationException : Exception, ISerializable

Thrown when building descriptors fails because the source DescriptorProtos are not valid.

Inheritance

object > Exception > DescriptorValidationException

Implements

ISerializable

Namespace

Google.Protobuf.Reflection

Assembly

Google.Protobuf.dll

Properties

Description

public string Description { get; }
Property Value
TypeDescription
string

A human-readable description of the error. (The Message property is made up of the descriptor's name and this description.)

ProblemSymbolName

public string ProblemSymbolName { get; }
Property Value
TypeDescription
string

The full name of the descriptor where the error occurred.