24 lines
432 B
C#
24 lines
432 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DG.Core
|
|
{
|
|
public class ApiException : DGException
|
|
{
|
|
public ApiException(string? message)
|
|
: base(message)
|
|
{
|
|
|
|
}
|
|
|
|
public ApiException(string? message, int code)
|
|
: base(message)
|
|
{
|
|
Data.Add("code", code);
|
|
}
|
|
}
|
|
}
|