Exception: JPie::Errors::InvalidJsonApiRequestError

Inherits:
BadRequestError show all
Defined in:
lib/jpie/errors.rb

Overview

JSON:API Compliance Errors

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: 'Request is not JSON:API compliant') ⇒ InvalidJsonApiRequestError

Returns a new instance of InvalidJsonApiRequestError.



78
79
80
# File 'lib/jpie/errors.rb', line 78

def initialize(detail: 'Request is not JSON:API compliant')
  super
end