mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 02:26:29 +01:00
15 lines
345 B
C#
15 lines
345 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;
|
|
}
|
|
}
|