class

Krikri::PlaybookParser::InvalidIncludeAttributeError

Inherits Exception < Reference < Object

Bypasses the per-task "Warning: Skipping task ... ParseError" rescue in #parse_tasks, the same way RemovedActionError, StaticImportRoleUndefinedError, etc. do - matches real ansible-core's own AnsibleParserError which aborts the whole playbook rather than degrading gracefully. Without the typed class, the bare-string raise above would land in the generic rescue at the end of parse_tasks's begin block, the whole play would silently lose the offending task, and the user would see ok=0 changed=0 failed=0 with no indication anything was wrong - the exact opposite of what real ansible does and what the spec expects.

Constructors

new(key : String, kind : String)
Source

Instance methods

kind
Source