def __init__(self, message, timeout=False, syntax=False, exit=False, cont=False, exit_for_loop=False): RobotError.__init__(self, utils.cut_long_message(message)) self.timeout = timeout self.syntax = syntax self.exit = exit self.cont = cont self.exit_for_loop = exit_for_loop
def __init__(self, message, timeout=False, syntax=False, exit=False, continue_on_failure=False, return_value=None): if "\r\n" in message: message = message.replace("\r\n", "\n") RobotError.__init__(self, utils.cut_long_message(message)) self.timeout = timeout self.syntax = syntax self.exit = exit self._continue_on_failure = continue_on_failure self.return_value = return_value
def __init__(self, message, timeout=False, syntax=False, exit=False, cont=False, exit_for_loop=False): if '\r\n' in message: message = message.replace('\r\n', '\n') RobotError.__init__(self, utils.cut_long_message(message)) self.timeout = timeout self.syntax = syntax self.exit = exit self.cont = cont self.exit_for_loop = exit_for_loop
def __init__(self, message, timeout=False, syntax=False, exit=False, continue_on_failure=False, return_value=None): if '\r\n' in message: message = message.replace('\r\n', '\n') RobotError.__init__(self, utils.cut_long_message(message)) self.timeout = timeout self.syntax = syntax self.exit = exit self.continue_on_failure = continue_on_failure self.return_value = return_value