using System; namespace Novaloop.PaymoApi.Exceptions { public class PaymoApiException : Exception { public PaymoApiException(int statusCode, string message) : base($"[{statusCode}]: {message})") { StatusCode = statusCode; } public int StatusCode { get; } } }