Exception: JPie::Errors::InternalServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/jpie/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #detail, #source, #status, #title

Instance Method Summary collapse

Methods inherited from Error

#to_hash

Constructor Details

#initialize(detail: 'Internal Server Error') ⇒ InternalServerError

Returns a new instance of InternalServerError.



65
66
67
# File 'lib/jpie/errors.rb', line 65

def initialize(detail: 'Internal Server Error')
  super(status: 500, title: 'Internal Server Error', detail:)
end