sharee.bike-App/SharedBusinessLogic/Repository/Exception/ResponseException.cs
2024-04-09 12:53:23 +02:00

15 lines
357 B
C#

using ShareeBike.Repository.Response;
namespace ShareeBike.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;
}
}