Exception: Conditionz::PostConditionNotMetError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/conditionz/post_condition_not_met_error.rb

Overview

Raised when a postcondition is not met

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = '') ⇒ PostConditionNotMetError

Returns a new instance of PostConditionNotMetError.



8
9
10
# File 'lib/conditionz/post_condition_not_met_error.rb', line 8

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

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



7
8
9
# File 'lib/conditionz/post_condition_not_met_error.rb', line 7

def message
  @message
end