lib/grumlin.rb in grumlin-0.8.0 vs lib/grumlin.rb in grumlin-0.9.0

- old
+ new

@@ -55,14 +55,15 @@ end class UnknownTypeError < ProtocolError; end class StatusError < Error - attr_reader :status + attr_reader :status, :query - def initialize(status) + def initialize(status, query) super(status[:message]) @status = status + @query = query end end class ClientSideError < StatusError; end