MeshtasticException
Sealed hierarchy of Meshtastic SDK exceptions.
Every subclass exposes optional transportIdentity and operation fields populated from the engine and transport modules so callers can attribute a failure without parsing the message string. Use tag to add context fluently when constructing from helpers.
Inheritors
Types
connect() called while already connected.
Device reports a firmware version incompatible with this SDK.
Handshake timed out before completing.
Operation attempted while the client is not connected.
Payload exceeds the device's maximum data length (typically 233 bytes).
Protocol violation: malformed wire data, handshake failure, unexpected packet structure.
Storage backend became unavailable during operation.
Transport-level error: connection refused, network unreachable, I/O failure, etc.
Properties
Functions
Attach diagnostic context. Returns this for fluent use.