No, there are no error Ids...
All you can do is to pre_guess what error can happend and act acordingly...see the file keyword help as an example to catch an error if the file does not exist....
thanks guy's for the quick resonses. Now I use the errorlabel as a workaround to suppres the system-errormessage. Good to now the errors will have an ID or somethink like it.