def __init__(self, error_code, switched):
    self.error_code = error_code
    self.switched = switched
def __init__(self, error_code, switched):
    self.error_code = error_code
    self.switched = switched