Creating a Dynamic Antlers Error Page | Creating a Custom Statamic 500 Server Error Page: Part Two
…ad happened! </ h1 > 2 3 {{ if exception_type == ' App\CustomException ' }} 4 < h2 > Our custom exception was thrown! </ h2 > 5 {{ elseif exception_type == ' Exception ' }} 6 < h2 > Something else went wrong. </ h2 > 7 {{ /if }} Refreshing our...