Exception: Faraday::Error::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Faraday::Error::ClientError
show all
- Defined in:
- lib/faraday/error.rb
Instance Method Summary
collapse
Constructor Details
#initialize(exception) ⇒ ClientError
Returns a new instance of ClientError.
4
5
6
|
# File 'lib/faraday/error.rb', line 4
def initialize(exception)
@inner_exception = exception
end
|
Instance Method Details
#backtrace ⇒ Object
12
13
14
|
# File 'lib/faraday/error.rb', line 12
def backtrace
@inner_exception.backtrace
end
|
22
23
24
|
# File 'lib/faraday/error.rb', line 22
def inspect
@inner_exception.inspect
end
|
#message ⇒ Object
Also known as:
to_str
8
9
10
|
# File 'lib/faraday/error.rb', line 8
def message
@inner_exception.message
end
|
18
19
20
|
# File 'lib/faraday/error.rb', line 18
def to_s
@inner_exception.to_s
end
|