Exception: AnsiblePlaybook::AnsiblePlaybookSyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- AnsiblePlaybook::AnsiblePlaybookSyntaxError
- Defined in:
- modules/ansible/db.rb
Overview
Playbook has wrong syntax Exception
Instance Method Summary collapse
-
#initialize(msg) ⇒ AnsiblePlaybookSyntaxError
constructor
A new instance of AnsiblePlaybookSyntaxError.
-
#message ⇒ Object
Returns exception message.
Constructor Details
#initialize(msg) ⇒ AnsiblePlaybookSyntaxError
Returns a new instance of AnsiblePlaybookSyntaxError.
192 193 194 195 |
# File 'modules/ansible/db.rb', line 192 def initialize msg super @msg = msg end |
Instance Method Details
#message ⇒ Object
Returns exception message
198 199 200 |
# File 'modules/ansible/db.rb', line 198 def @msg end |