message is what's seen in the UI, errorMessage stores the user defined error message.