introducing ERROR_VIEW, which will be used to handle all errors