class JSONAPI::Exceptions::DocumentExceptions::InvalidDocument
A more specific standard error to raise when an exception is found
Attributes
status_code[RW]
Public Class Methods
new(status_code)
click to toggle source
Init w a status code, so that it can be accessed when rescuing an exception
Calls superclass method
# File lib/easy/jsonapi/exceptions/document_exceptions.rb, line 50 def initialize(status_code) @status_code = status_code super end