Exception: ClientAuth::Errors::InternalServerError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/client_auth/models/errors/internal_server_error.rb

Instance Attribute Summary

Attributes inherited from BaseError

#detail, #status, #title

Instance Method Summary collapse

Methods inherited from BaseError

#headers, #inspect

Constructor Details

#initialize(message = 'Internal server error') ⇒ InternalServerError

Returns a new instance of InternalServerError.



4
5
6
7
8
# File 'lib/client_auth/models/errors/internal_server_error.rb', line 4

def initialize(message = 'Internal server error')
  @status = 500
  @title = self.class.name
  @detail = message
end