This extends the HostCommunicationError exception class to allow the caller to specify a descriptive reason to be included in the string representation. This is useful when the calling code has additional details about why the operation failed such as a session doesn't support the protocol or something like that. This information will then (hopefully) help the user know why the operation failed.
This extends the HostCommunicationError exception class to allow the caller to specify a descriptive reason to be included in the string representation. This is useful when the calling code has additional details about why the operation failed such as a session doesn't support the protocol or something like that. This information will then (hopefully) help the user know why the operation failed.