Been added the custom error handler