Exception: MinatoErrorHandler::Errors::InternalError

Inherits:
MinatoError
  • Object
show all
Defined in:
lib/minato_error_handler/errors/internal_error.rb

Instance Attribute Summary

Attributes inherited from MinatoError

#caused_by, #debug_details, #details, #http_request, #http_response

Instance Method Summary collapse

Methods inherited from MinatoError

#as_json, #backtrace=, #code, #error_reporting_type, #json_response, #stack_trace, #to_json, #unique_identifier

Instance Method Details

#messageObject



6
7
8
# File 'lib/minato_error_handler/errors/internal_error.rb', line 6

def message
  "An internal error has occurred! See more details in caused_by field."
end

#status_codeObject



10
11
12
# File 'lib/minato_error_handler/errors/internal_error.rb', line 10

def status_code
  500
end