Created if creating handlers fail – running raises DataError. More...
Public Member Functions | |
| def | __init__ (self, error, name, libname=None, source=None, lineno=None) |
| :param robot.errors.DataError error: Occurred error. More... | |
| def | create_runner (self, name, languages=None) |
| def | run (self, kw, context, run=True) |
Public Attributes | |
| arguments | |
| error | |
| libname | |
| lineno | |
| name | |
| source | |
| tags | |
| timeout | |
Static Public Attributes | |
| def | dry_run = run |
| bool | supports_embedded_arguments = False |
Properties | |
| doc = property | |
| longname = property | |
| shortdoc = property | |
Private Member Functions | |
| def | doc (self) |
| def | longname (self) |
| def | shortdoc (self) |
Created if creating handlers fail – running raises DataError.
The idea is not to raise DataError at processing time and prevent all tests in affected test case file from executing. Instead UserErrorHandler is created and if it is ever run DataError is raised then.
Definition at line 30 of file usererrorhandler.py.
| def robot.running.usererrorhandler.UserErrorHandler.__init__ | ( | self, | |
| error, | |||
| name, | |||
libname = None, |
|||
source = None, |
|||
lineno = None |
|||
| ) |
:param robot.errors.DataError error: Occurred error.
:param str name: Name of the affected keyword. :param str libname: Name of the affected library or resource. :param str source: Path to the source file. :param int lineno: Line number of the failing keyword.
Definition at line 40 of file usererrorhandler.py.
| def robot.running.usererrorhandler.UserErrorHandler.create_runner | ( | self, | |
| name, | |||
languages = None |
|||
| ) |
Definition at line 68 of file usererrorhandler.py.
|
private |
Definition at line 59 of file usererrorhandler.py.
|
private |
Definition at line 53 of file usererrorhandler.py.
| def robot.running.usererrorhandler.UserErrorHandler.run | ( | self, | |
| kw, | |||
| context, | |||
run = True |
|||
| ) |
Definition at line 71 of file usererrorhandler.py.
|
private |
Definition at line 65 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.arguments |
Definition at line 46 of file usererrorhandler.py.
|
static |
Definition at line 81 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.error |
Definition at line 41 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.libname |
Definition at line 43 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.lineno |
Definition at line 45 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.name |
Definition at line 42 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.source |
Definition at line 44 of file usererrorhandler.py.
|
static |
Definition at line 31 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.tags |
Definition at line 48 of file usererrorhandler.py.
| robot.running.usererrorhandler.UserErrorHandler.timeout |
Definition at line 47 of file usererrorhandler.py.
|
static |
Definition at line 57 of file usererrorhandler.py.
|
static |
Definition at line 51 of file usererrorhandler.py.
|
static |
Definition at line 63 of file usererrorhandler.py.