customize the error page from Play Framework
问题 In case there is a compilation or runtime issue in Play Framework , error is returned to the client on receiving HTTP request. Which part of Play Framework creates and send the HTML? Can I customize it? For eg., my code throws an Exception on application loading. I see the following page I want to customize this page so that it looks/feels like website's page. Also, instead of HTML body, could I send a JSON body? UPDATE Looking at the stack trace of my application, the application loading