From 5ad93437c39dc3bc3bf6d0f5efcbf301c7dd64b1 Mon Sep 17 00:00:00 2001 From: Paul Grugnale <103067467+paulgrugnale@users.noreply.github.com> Date: Thu, 16 Nov 2023 08:31:38 -0600 Subject: [PATCH] Update statusHandlers.adoc (#10119) fix typo --- .../docs/guide/httpServer/errorHandling/statusHandlers.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/docs/guide/httpServer/errorHandling/statusHandlers.adoc b/src/main/docs/guide/httpServer/errorHandling/statusHandlers.adoc index 15a0f8e7524..0d34af4e1e3 100644 --- a/src/main/docs/guide/httpServer/errorHandling/statusHandlers.adoc +++ b/src/main/docs/guide/httpServer/errorHandling/statusHandlers.adoc @@ -1,4 +1,4 @@ -The ann:http.annotation.Error[] annotation supports defining either an exception class or an HTTP status. Methods annotated with ann:http.annotation.Error[] must be defined with in a class annotated with ann:http.annotation.Controller[]. The annotation also supports the notion of global and local, local being the default. +The ann:http.annotation.Error[] annotation supports defining either an exception class or an HTTP status. Methods annotated with ann:http.annotation.Error[] must be defined within a class annotated with ann:http.annotation.Controller[]. The annotation also supports the notion of global and local, local being the default. Local error handlers only respond to exceptions thrown as a result of the route being matched to another method in the same controller. Global error handlers can be invoked as a result of any thrown exception. A local error handler is always searched for first when resolving which handler to execute.