rename errorMessage() to error()