Exception: JPie::Errors::ResourceError

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:) ⇒ ResourceError

Returns a new instance of ResourceError.



71
72
73
# File 'lib/jpie/errors.rb', line 71

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