Skip to content

Commit cef56e4

Browse files
committed
fixing links in the error-handling doc
Signed-off-by: Lewis Birks <22620804+lewisbirks@users.noreply.github.com>
1 parent f9954db commit cef56e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/asciidoc/error-handler.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
== Error Handler
22

33
Jooby catches application exception using the javadoc:ErrorHandler[] class. The
4-
javadoc:ErrorHandler[DEFAULT] error handler produces simple HTML page or JSON based on the value
4+
javadoc:DefaultErrorHandler[] error handler produces simple HTML page or JSON based on the value
55
of the `ACCEPT` header and log the exception.
66

77
.HTML:
@@ -32,7 +32,7 @@ io.jooby.StatusCodeException: Not found
3232
at java.lang.Thread.run(Thread.java:748)
3333
----
3434

35-
The javadoc:StatusCodeException[] works as generic exception that let you specify an status code.
35+
The javadoc:exception.StatusCodeException[] works as generic exception that let you specify an status code.
3636

3737
----
3838
throw new StatusCodeException(StatusCode.FORBIDDEN);

0 commit comments

Comments
 (0)