Error handler boilerplate WIP.