1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-13 01:12:59 +00:00
Files
CryptoExchange.Net/CryptoExchange.Net/Testing/Exceptions/MissingPropertyException.cs
T

16 lines
485 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace CryptoExchange.Net.Testing.Exceptions
{
internal class MissingPropertyException : Exception
{
public MissingPropertyException(string method, string objName, string propName, string value)
: base($"{method}: Missing property `{propName}` on `{objName}`, value: {value.Substring(0, Math.Min(50, value.Length))}")
{
}
}
}