def __init__(self, error_code, minor_block, extra_info=None):
    self.error_code = error_code
    self.minor_block = minor_block
    self.extra_info = extra_info
def __init__(self, error_code, minor_block, extra_info=None):
    self.error_code = error_code
    self.minor_block = minor_block
    self.extra_info = extra_info