Exception: Puppet::Exceptions::GraphDBExpectationsFailError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/puppet/exceptions/graphdb_expectations_fail.rb

Overview

Exceptions trown when given Expectations aren’t met

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = '') ⇒ GraphDBExpectationsFailError

Returns a new instance of GraphDBExpectationsFailError.



9
10
11
12
# File 'lib/puppet/exceptions/graphdb_expectations_fail.rb', line 9

def initialize(message = '')
  super(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



7
8
9
# File 'lib/puppet/exceptions/graphdb_expectations_fail.rb', line 7

def message
  @message
end