Implement the error code for the application.