custom application/controller for handling errors