Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions homekit/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ class RequestRejected(HomeKitException):
Raised when a request fails with a HAP error code
"""

def __init__(self, message, error_code):
self.error_code = error_code
def __init__(self, message, status):
self.status = status
self.message = message
Exception.__init__(message)
Exception.__init__(self, message)


class TransportNotSupportedError(HomeKitException):
Expand Down