Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(DeviceRegistryOperationError, self).__init__(**kwargs)
self.device_id = kwargs.get("device_id", None)
self.error_code = kwargs.get("error_code", None)
self.error_status = kwargs.get("error_status", None)
self.module_id = kwargs.get("module_id", None)
self.operation = kwargs.get("operation", None)