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

#nullable enable

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

namespace Azure.Iot.Operations.Services.AssetAndDeviceRegistry.Generated.AdrBaseService
{
    [System.CodeDom.Compiler.GeneratedCode("Azure.Iot.Operations.ProtocolCompilerLib", "1.0.0.0")]
    public partial class AkriServiceErrorException : Exception
    {
        public AkriServiceErrorException(AkriServiceError akriServiceError)
            : base(akriServiceError.Message)
        {
            AkriServiceError = akriServiceError;
        }

        public AkriServiceError AkriServiceError { get; }
    }
}
