Description: This function returns a textual description of an error code.
Format: DNP\ErrMessage (ErrorCode)
Parameters: ErrorCode The error code for which a textual description is required.
Comments:
This function will attempt to translate the supplied Error Code into a textual string describing the error. If the error code is not recognized, then the string “Unknown Error Code” will be returned.