Exceptions

exception libpebble2.exceptions.AppInstallError

Bases: libpebble2.exceptions.PebbleError

An app install failed.

exception libpebble2.exceptions.ConnectionError

Bases: libpebble2.exceptions.PebbleError

Connecting to the Pebble failed.

exception libpebble2.exceptions.GetBytesError(code)

Bases: libpebble2.exceptions.PebbleError

A getbytes session failed.

exception libpebble2.exceptions.PacketDecodeError

Bases: libpebble2.exceptions.PebbleError

Decoding a packet received from the Pebble failed.

exception libpebble2.exceptions.PacketEncodeError

Bases: libpebble2.exceptions.PebbleError

Encoding a packet failed.

exception libpebble2.exceptions.PebbleError

Bases: exceptions.Exception

The base class for all exceptions raised by libpebble2.

exception libpebble2.exceptions.PutBytesError

Bases: libpebble2.exceptions.PebbleError

A putbytes session failed.

exception libpebble2.exceptions.ScreenshotError

Bases: libpebble2.exceptions.PebbleError

A screenshot failed.

exception libpebble2.exceptions.TimeoutError

Bases: libpebble2.exceptions.PebbleError

Something was waiting for an event and timed out.