TransportErrorCallback TransportErrorCallback = void Function(JSAny error) Event callback type for transport errors. Implementation typedef TransportErrorCallback = void Function(JSAny error);