sharee.bike-App/TINKLib/Repository/Exception/ResponseException.cs

16 lines
399 B
C#
Raw Normal View History

2021-05-13 20:03:07 +02:00
using TINK.Model.Repository.Response;
namespace TINK.Repository.Exception
{
public class ResponseException : System.Exception
{
private readonly ResponseBase _response;
public ResponseException(ResponseBase response, string message) : base(message)
{
_response = response;
}
public string Response => _response.response_text;
}
}