Exception: OsCtl::Repo::BadHttpResponse
- Inherits:
-
StandardError
- Object
- StandardError
- OsCtl::Repo::BadHttpResponse
- Defined in:
- lib/osctl/repo/exceptions.rb
Instance Method Summary collapse
-
#initialize(code) ⇒ BadHttpResponse
constructor
A new instance of BadHttpResponse.
Constructor Details
#initialize(code) ⇒ BadHttpResponse
Returns a new instance of BadHttpResponse.
16 17 18 |
# File 'lib/osctl/repo/exceptions.rb', line 16 def initialize(code) super("HTTP server returned #{code}") end |