Skip to content

Commit fd9353b

Browse files
Update internal link to UF exceptions
1 parent 4eb6350 commit fd9353b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 18.advanced/04.error-handling

18.advanced/04.error-handling/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ However for some types of exceptions, you may wish to display a debugging page i
189189

190190
### Custom Exception
191191

192-
You can define your own exceptions, of course, optionally inheriting from any of the [existing exception types](advanced/error-handling#default-exceptions). Every exception you define must eventually inherit back to PHP's base `Exception` class.
192+
You can define your own exceptions, of course, optionally inheriting from any of the [existing exception types](advanced/error-handling#exceptions). Every exception you define must eventually inherit back to PHP's base `Exception` class.
193193

194194
You'll notice that a large portion of UserFrosting's exception types inherit from the `UserFacingException` class. This is an interesting exception (no pun intended) - it acknowledges that the _exception_ message (which you would want your developers and sysadmins to see), and the _client_ messages (which are displayed to the user to let them know that something went wrong), are generally different things.
195195

0 commit comments

Comments
 (0)