Creating a Custom Exception Class | Creating a Custom Statamic 500 Server Error Page: Part Two
…ollowing: As you can see, our exception_type variable has been updated to refer to our custom App\CustomException class. It is this variable that we can make use of in our Antlers template to customize how our error page is displayed to our...