mechanism for raising error to be shown to the user