chore: initial commit
This commit is contained in:
14
src/Exceptions/PaymoApiException.cs
Normal file
14
src/Exceptions/PaymoApiException.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user