/usr/bin/macoserror
macoserror displays the Macintosh OSStatus constant(s) associated with each error code, and the comment string(s) if available.