Exception: Scimitar::InvalidSyntaxError

Inherits:
ErrorResponse
  • Object
show all
Defined in:
app/models/scimitar/invalid_syntax_error.rb

Instance Attribute Summary

Attributes inherited from ErrorResponse

#detail, #scimType, #status

Instance Method Summary collapse

Methods inherited from ErrorResponse

#as_json, #message

Constructor Details

#initialize(error_message) ⇒ InvalidSyntaxError

Returns a new instance of InvalidSyntaxError.



4
5
6
# File 'app/models/scimitar/invalid_syntax_error.rb', line 4

def initialize(error_message)
  super(status: 400, scimType: 'invalidSyntax', detail: error_message)
end