How do you create dynamic error pages? I want to have one template handle all of my error pages (instead of creating 404.html, 500.html, &amp;c.).
A big thanks to Michael Rog (@rog) for the answer on Slack. You can create a catch-all error template with the name error (using whatever file ext works for you). That template also has access to a variable called code that tells you what kind of error it is. In my case, I'm using it to display HTTP Cats.