sharp-trading/bittrex/BittrexException.cs

18 lines
282 B
C#

using System;
using sharp.json;
namespace sharp.trading.bittrex
{
public class BittrexException : Exception
{
public JSON JSONResult { get; private set; }
public BittrexException(JSON result)
:base(result["message"].To<string>())
{
JSONResult = result;
}
}
}