class

Krikri::PythonActionRunner::ActionError

Inherits Exception < Reference < Object

Raised when a dispatched action plugin fails after the file was found (a Python exception inside run, no ActionModule in the file, an unparseable wrapper response). Callers surface it as a real task failure - it is never an "unsupported" condition.

detail is set only for the TASK_FAILED kind: the plugin raised AnsibleError itself, which Ansible's task executor turns into the task's own failure with the bare exception text in the [ERROR] block and "Task failed: <text>" as the fatal msg (issue #411, on amtega.check_platform's _check_platform - live-verified vs 2.19.11). Callers render that shape from detail; a plain runner crash keeps detail nil and surfaces this exception's message.

Constructors

new(message : String, detail : String | Nil = nil)
Source

Instance methods

detail
Source