File: exceptions.py

package info (click to toggle)
zigpy-znp 0.13.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,120 kB
  • sloc: python: 14,459; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from zigpy.exceptions import DeliveryError


class InvalidFrame(ValueError):
    pass


class SecurityError(Exception):
    pass


class CommandNotRecognized(Exception):
    pass


class InvalidCommandResponse(DeliveryError):
    def __init__(self, message, response):
        super().__init__(message)
        self.response = response