/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v1.0.0.0; DO NOT EDIT. */

#nullable enable

using System;
using Azure.Iot.Operations.Services.SchemaRegistry.Generated.Common;

namespace Azure.Iot.Operations.Services.SchemaRegistry.Generated
{
    [System.CodeDom.Compiler.GeneratedCode("Azure.Iot.Operations.ProtocolCompilerLib", "1.0.0.0")]
    public partial class SchemaRegistryErrorException : Exception
    {
        public SchemaRegistryErrorException(SchemaRegistryError schemaRegistryError)
            : base(schemaRegistryError.Message)
        {
            SchemaRegistryError = schemaRegistryError;
        }

        public SchemaRegistryError SchemaRegistryError { get; }
    }
}
