Class: Glia::Errors::InternalServerError
- Defined in:
- lib/glia/errors/server_errors.rb
Overview
rubocop:disable Style/Documentation
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ InternalServerError
Returns a new instance of InternalServerError.
7 8 9 10 11 12 13 |
# File 'lib/glia/errors/server_errors.rb', line 7 def initialize(message: nil) super( type: INTERNAL_SERVER_ERROR, ref: create_ref(INTERNAL_SERVER_ERROR), message: || 'Internal server error' ) end |