Пример #1
0
        protected ApiException(Request request, Response response, List<Error> errors)
        {
            Platform = Environment.Platform.Version;
            Request = request;
            Response = response;
            Errors = errors;

            yamlString = CreateYamlString();
        }
Пример #2
0
 public InternalApplicationException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
Пример #3
0
 public UndefinedException(Request request, Response response, List<Error> errors) : base(request, response, errors) { }
Пример #4
0
 public TooManyRequestsException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
Пример #5
0
 public NotFoundException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
Пример #6
0
 public ForbiddenException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
Пример #7
0
 public AuthenticationException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
Пример #8
0
 public BadRequestException(Request request, Response response, List<Error> errors): base(request, response, errors) { }