#Panic Handler
1 articles
05 Learn About Panic Handler
Understanding Panic Handlers
When we create logic in the handler, we must think of a case where panic occurs, then what should we do? In this Panic handler an error will automatically occur and the website will stop returning responses. In the previous material, we discussed how the Web handles panic by creating special Middleware manually. However, the Router has been provided to handle panic
by using the PanicHandler
attribute.