protected ApiException(Request request, Response response, List<Error> errors)
        {
            Platform = Environment.Platform.Version;
            Request = request;
            Response = response;
            Errors = errors;

            yamlString = CreateYamlString();
        }
 public InternalApplicationException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
 public UndefinedException(Request request, Response response, List<Error> errors) : base(request, response, errors) { }
 public TooManyRequestsException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
 public NotFoundException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
 public ForbiddenException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
 public AuthenticationException(Request request, Response response, List<Error> errors): base(request, response, errors) { }
 public BadRequestException(Request request, Response response, List<Error> errors): base(request, response, errors) { }