public function failedValidatorException(
        ValidatorContract $validator,
        \Closure $closure = null
    ): JsonApiException
    {
        return new ValidationException(
            $this->failedValidator($validator, $closure)
        );
    }