Add method to get exit code set for the exception
Add a new file which would contain error handler definition
1. Remove use of global validation error message. 2. Remove a separate AJAX call to a /error endpoint
Remove errors endpoint from api_links
exit_code is a property and not a callable function; so remove parenthesis in exit_code()
Removing duplicate method names