lib/dentaku/exceptions.rb in dentaku-3.5.0 vs lib/dentaku/exceptions.rb in dentaku-3.5.1

- old
+ new

@@ -1,12 +1,11 @@ module Dentaku class Error < StandardError + attr_accessor :recipient_variable end class UnboundVariableError < Error - attr_accessor :recipient_variable - attr_reader :unbound_variables def initialize(unbound_variables) @unbound_variables = unbound_variables end @@ -72,9 +71,10 @@ end end class ArgumentError < ::ArgumentError attr_reader :reason, :meta + attr_accessor :recipient_variable def initialize(reason, **meta) @reason = reason @meta = meta end