예제 #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) { }