Exception: AnsiblePlaybook::AnsiblePlaybookSyntaxError

Inherits:
StandardError
  • Object
show all
Defined in:
modules/ansible/db.rb

Overview

Playbook has wrong syntax Exception

Instance Method Summary collapse

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

#messageObject

Returns exception message



198
199
200
# File 'modules/ansible/db.rb', line 198

def message
  @msg
end