Sha256: 7dba2bdd3e176d0f75e686e9ddaf859fc8cb45629227c9be62786af7ccbe3b2f
Contents?: true
Size: 584 Bytes
Versions: 4
Compression:
Stored size: 584 Bytes
Contents
module Faraday module Error class ClientError < StandardError def initialize(exception) @inner_exception = exception end def message @inner_exception.message end def backtrace @inner_exception.backtrace end alias to_str message def to_s @inner_exception.to_s end def inspect @inner_exception.inspect end end class ConnectionFailed < ClientError; end class ResourceNotFound < ClientError; end class ParsingError < ClientError; end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
faraday-0.5.3 | lib/faraday/error.rb |
faraday-0.5.2 | lib/faraday/error.rb |
faraday-0.5.1 | lib/faraday/error.rb |
faraday-0.5.0 | lib/faraday/error.rb |