Robot Framework
robot.running.bodyrunner.TryRunner Class Reference

Public Member Functions

def __init__ (self, context, run=True, templated=False)
 
def run (self, data)
 

Private Member Functions

def _run_branch (self, branch, result, run=True, error=None)
 
def _run_else (self, data, run)
 
def _run_excepts (self, data, error, run)
 
def _run_finally (self, data, run)
 
def _run_invalid (self, data)
 
def _run_try (self, data, run)
 
def _should_run_except (self, branch, error)
 
def _should_run_excepts_or_else (self, error, run)
 

Private Attributes

 _context
 
 _run
 
 _templated
 

Detailed Description

Definition at line 479 of file bodyrunner.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.running.bodyrunner.TryRunner.__init__ (   self,
  context,
  run = True,
  templated = False 
)

Definition at line 481 of file bodyrunner.py.

Member Function Documentation

◆ _run_branch()

def robot.running.bodyrunner.TryRunner._run_branch (   self,
  branch,
  result,
  run = True,
  error = None 
)
private

Definition at line 527 of file bodyrunner.py.

◆ _run_else()

def robot.running.bodyrunner.TryRunner._run_else (   self,
  data,
  run 
)
private

Definition at line 581 of file bodyrunner.py.

◆ _run_excepts()

def robot.running.bodyrunner.TryRunner._run_excepts (   self,
  data,
  error,
  run 
)
private

Definition at line 539 of file bodyrunner.py.

◆ _run_finally()

def robot.running.bodyrunner.TryRunner._run_finally (   self,
  data,
  run 
)
private

Definition at line 586 of file bodyrunner.py.

◆ _run_invalid()

def robot.running.bodyrunner.TryRunner._run_invalid (   self,
  data 
)
private

Definition at line 504 of file bodyrunner.py.

◆ _run_try()

def robot.running.bodyrunner.TryRunner._run_try (   self,
  data,
  run 
)
private

Definition at line 516 of file bodyrunner.py.

◆ _should_run_except()

def robot.running.bodyrunner.TryRunner._should_run_except (   self,
  branch,
  error 
)
private

Definition at line 559 of file bodyrunner.py.

◆ _should_run_excepts_or_else()

def robot.running.bodyrunner.TryRunner._should_run_excepts_or_else (   self,
  error,
  run 
)
private

Definition at line 520 of file bodyrunner.py.

◆ run()

def robot.running.bodyrunner.TryRunner.run (   self,
  data 
)

Definition at line 486 of file bodyrunner.py.

Member Data Documentation

◆ _context

robot.running.bodyrunner.TryRunner._context
private

Definition at line 482 of file bodyrunner.py.

◆ _run

robot.running.bodyrunner.TryRunner._run
private

Definition at line 483 of file bodyrunner.py.

◆ _templated

robot.running.bodyrunner.TryRunner._templated
private

Definition at line 484 of file bodyrunner.py.


The documentation for this class was generated from the following file: