Returns the error message number associated with the indexed error in the error object.
Return type: INTEGER
Access: PUBLIC
Applies to: Progress.Lang.ProError class
For Progress.Lang.SysError objects, the method returns the OpenEdge message number for the system generated error. For Progress.Lang.AppError objects, the application message number returned is the number provided to the AppError( ) constructor or the AddMessage( ) method. If there is no error message at the index, the method returns the empty string.
.NET Exception objects also do not use this method.