Exception: Hyperdrive::Errors::UnknownError

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/hyperdrive/errors/unknown_error.rb

Instance Attribute Summary

Attributes inherited from HTTPError

#http_status_code, #message

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Unknown Error.') ⇒ UnknownError

Returns a new instance of UnknownError.



6
7
8
9
# File 'lib/hyperdrive/errors/unknown_error.rb', line 6

def initialize(message = 'Unknown Error.')
  @http_status_code = 500
  @message = message
end