What is ProblemDetail (RFC 7807) in Spring 6 error handling?

@ExceptionHandler(NotFoundException.class) ProblemDetail handle(NotFoundException ex) { return ProblemDetail.forStatusAndDetail(NOTFOUND, ex.getMessage());...

What is ProblemDetail (RFC 7807) in Spring 6 error handling? · Home · Support the platform