raise aetools.Error in stead of MacOS.Error on server-generated errors

This commit is contained in:
Jack Jansen 1996-09-20 15:29:59 +00:00
parent 433a48ef36
commit 977fbf271e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ def compileevent(fp, event):
# Error handling # Error handling
# #
fp.write("\t\tif _arguments.has_key('errn'):\n") fp.write("\t\tif _arguments.has_key('errn'):\n")
fp.write("\t\t\traise MacOS.Error, aetools.decodeerror(_arguments)\n") fp.write("\t\t\traise aetools.Error, aetools.decodeerror(_arguments)\n")
fp.write("\t\t# XXXX Optionally decode result\n") fp.write("\t\t# XXXX Optionally decode result\n")
# #
# Decode result # Decode result