Exception: Metasploit::Framework::DataService::Remote::ServerError

Inherits:
HttpError
  • Object
show all
Defined in:
lib/metasploit/framework/data_service/remote/http/error.rb

Instance Attribute Summary

Attributes inherited from HttpError

#error, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(error:, status_code: 500, message: 'Internal Server Error') ⇒ ServerError

Returns a new instance of ServerError.



17
18
19
# File 'lib/metasploit/framework/data_service/remote/http/error.rb', line 17

def initialize(error:, status_code: 500, message: 'Internal Server Error')
  super
end