Exception: FormatParser::RemoteIO::UpstreamError
- Inherits:
-
StandardError
- Object
- StandardError
- FormatParser::RemoteIO::UpstreamError
- Defined in:
- lib/remote_io.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Integer.
Instance Method Summary collapse
-
#initialize(status_code, message) ⇒ UpstreamError
constructor
A new instance of UpstreamError.
Constructor Details
#initialize(status_code, message) ⇒ UpstreamError
Returns a new instance of UpstreamError.
10 11 12 13 |
# File 'lib/remote_io.rb', line 10 def initialize(status_code, ) @status_code = Integer(status_code) super() end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns Integer.
8 9 10 |
# File 'lib/remote_io.rb', line 8 def status_code @status_code end |