Class DescriptorValidationException (3.27.1)

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
Type Description
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
Type Description
string

The full name of the descriptor where the error occurred.