Exception: Hyperdrive::Errors::InternalServerError

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

Instance Attribute Summary

Attributes inherited from HTTPError

#http_status_code, #message

Instance Method Summary collapse

Constructor Details

#initializeInternalServerError

Returns a new instance of InternalServerError.



4
5
6
7
# File 'lib/hyperdrive/errors/internal_server_error.rb', line 4

def initialize
  @message = 'The server encountered an unexpected condition which prevented it from fulfilling the request.'
  @http_status_code = 500
end