Skip to content

Provide an override to allow different types of connections to translate errors to a coherent supported list #1

Description

@francois-normandin

For example, the TCP Connection returns error 66 for "Disconnected by Peer", but the Local Queue would return error code 1.
The session should be able to use a standard error code list to support some of the MQTT features, so an error mapping of some sort will be needed,

TCP Connection passes all tests. Websockets and Local Queue fail a few, all related to properly reporting when the server or client disconnected because of a protocol violation on either side.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions