Return a proper Error Msg, when a failure occurs.