Exception: OsCtl::Repo::BadHttpResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/osctl/repo/exceptions.rb

Instance Method Summary collapse

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