MCPcopy Index your code
hub / github.com/socketio/socket.io / TransportError

Function TransportError

client-dist/socket.io.js:848–856  ·  view source on GitHub ↗
(reason, description, context)

Source from the content-addressed store, hash-verified

846 _inherits(TransportError, _Error);
847 var _super = _createSuper(TransportError);
848 function TransportError(reason, description, context) {
849 var _this;
850 _classCallCheck(this, TransportError);
851 _this = _super.call(this, reason);
852 _this.description = description;
853 _this.context = context;
854 _this.type = "TransportError";
855 return _this;
856 }
857 return _createClass(TransportError);
858 }( /*#__PURE__*/_wrapNativeSuper(Error));
859 var Transport = /*#__PURE__*/function (_Emitter) {

Callers

nothing calls this directly

Calls 1

_classCallCheckFunction · 0.85

Tested by

no test coverage detected