class JSONAPI::Exceptions::UserDefinedExceptions::InvalidComponent

Invaliid Document Error when checking user defined restrictions

Attributes

msg[RW]
status_code[RW]

Public Class Methods

new(err) click to toggle source
Calls superclass method
# File lib/easy/jsonapi/exceptions/user_defined_exceptions.rb, line 16
def initialize(err)
  @msg = err[0]
  @status_code = err[1] || 400
  super
end