lib/flows/contract/error.rb in flows-0.5.1 vs lib/flows/contract/error.rb in flows-0.6.0

- old
+ new

@@ -1,10 +1,9 @@ module Flows class Contract # Class for {Type} errors. class Error < ::Flows::Error - attr_reader :value - attr_reader :value_error + attr_reader :value, :value_error # @param value [Object] checked value # @param value_error [String] error message def initialize(value, value_error) @value = value