A handful of error templates to be used as a starting point for serving up 400, 404, 422 and 500 errors in your applications.
- Download a zip file of these pages and copy them across to your frameworks static folder, for Rails this is
./public
. - Add your logo to your
./public
folder, let's assume it's calledlogo.svg
. - Update each of the html files, changing the img tags src attribute to
/logo.svg
. - Enjoy ✌️
Simply run a file server in this directory and open the files in your browser.
$ gem install adsf
$ adsf
$ open localhost:3000/404.html
Simple error pages by http://rapidruby.com is licensed under a Creative Commons Attribution 4.0 International License.