sharee.bike-App/TINKLib/Repository/Exception/ResponseException.cs
2021-06-26 20:57:55 +02:00

16 lines
393 B
C#

using TINK.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;
}
}