Set Allow_Cancel_State to false.

If you want the user to be able to cancel, but not the display this on error, I think adding the following to your BPO may work.

Code:
procedure onError integer ErrNum integer iErrLine string ErrMsg
    set error_check_state to false
end_procedure
If you already have onError method, set error_check_state to false in it.