Mention native TRY/EXCEPT in Run Kw And Ignore/Expect Error docs
Part of
@@ -2014,6 +2014,9 @@ class _RunKeyword(_BuiltInBase):
Errors caused by invalid syntax, timeouts, or fatal exceptions are not
caught by this keyword. Otherwise this keyword itself never fails.
+
+ *NOTE:* Robot Framework 5.0 introduced native TRY/EXCEPT functionality
+ that is generally recommended for error handling.
"""
try:
return 'PASS', self.run_keyword(name, *args)
@@ -2127,6 +2130,10 @@ class _RunKeyword(_BuiltInBase):
Framework 5.0 and nowadays the pattern must match the error fully.
To match only the beginning, add ``.*`` at the end of the pattern like
``REGEXP: Start.*``.
+
+ *NOTE:* Robot Framework 5.0 introduced native TRY/EXCEPT functionality
+ that is generally recommended for error handling. It supports same
+ pattern matching syntax as this keyword.
"""
try:
self.run_keyword(name, *args)
