csharp/Microsoft.Azure.Databricks.Client/ClientApiException.cs (12 lines of code) (raw):
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Net;
namespace Microsoft.Azure.Databricks.Client;
public class ClientApiException : Exception
{
public HttpStatusCode StatusCode { get; }
public ClientApiException(string message, HttpStatusCode statusCode) : base(message)
{
StatusCode = statusCode;
}
}