Alternatively consider a better default error ( https://github.com/pluma/httperr )