Sha256: 50431b0ec60545e50f1bb909c2222cb62621070d655209d209418e9c4fd7f4c9
Contents?: true
Size: 289 Bytes
Versions: 2
Compression:
Stored size: 289 Bytes
Contents
module Apidiesel class Error < StandardError; end class InputError < Error; end class RequestError < Error attr_accessor :request def initialize(msg = nil, request = nil) @request = request super(msg) end end class ResponseError < RequestError; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apidiesel-0.15 | lib/apidiesel/errors.rb |
apidiesel-0.14 | lib/apidiesel/errors.rb |