Revert "Testing custom error routes"

This reverts commit 17ec22b074f0c0f2a854bcebe0b69cb589f08a8f.