mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-13 01:12:59 +00:00
16 lines
485 B
C#
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))}")
|
|
{
|
|
}
|
|
}
|
|
}
|