Added MtErrorCode used in MtExecutionException

This commit is contained in:
DW
2016-04-25 14:00:54 +03:00
parent 3bec28f817
commit 640c680933
6 changed files with 111 additions and 4 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ namespace MtApi
{
public class MtExecutionException: Exception
{
public MtExecutionException(int errorCode, string message)
public MtExecutionException(MtErrorCode errorCode, string message)
:base(message)
{
ErrorCode = errorCode;
}
public int ErrorCode { get; private set; }
public MtErrorCode ErrorCode { get; private set; }
}
}