Added a default message to res.error.