Class: Cline::Log::ErrorCause
- Defined in:
- lib/cline/log.rb
Overview
Cause of an API call error
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#code ⇒ String?
Error code (e.g. "ConnectionRefused").
-
#errno ⇒ Integer?
Error number.
-
#path ⇒ String?
URL path that caused the error.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#code ⇒ String?
Returns Error code (e.g. "ConnectionRefused").
11 |
# File 'lib/cline/log.rb', line 11 attribute :code, :string |
#errno ⇒ Integer?
Returns Error number.
17 |
# File 'lib/cline/log.rb', line 17 attribute :errno, :integer |
#path ⇒ String?
Returns URL path that caused the error.
14 |
# File 'lib/cline/log.rb', line 14 attribute :path, :string |