Updates:
Status: Started
Owner: pekka.klarck
Comment #2 on issue 1667 by pekka.klarck: Improve error message when
BuiltIn keywords are called outside an execution
http://code.google.com/p/robotframework/issues/detail?id=1667
This issue was updated by revision f6925e5f6a52.
Here's initial implementation. It still uses AttributeError because I
thought it would be more backwards-compatible. After thinking this a little
more, and re-reading the issue description, I'm convinced we need to use
something else.
Any comments which exception should we use? Best existing Robot exceptions
is DataError but it isn't exactly correct in this case. Best standard
Python exception is probably RuntimeError, but that's probably bit too
generic.
Should we just add a new exception? What name? Where? Other exceptions are
in robot.errors module, but having this in BuiltIn would work too:
from robot.libraries.BuiltIn import BuiltIn, RobotNotRunningError
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.