Exception: Scimitar::AuthenticationError

Inherits:
ErrorResponse
  • Object
show all
Defined in:
app/models/scimitar/authentication_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

#initializeAuthenticationError

Returns a new instance of AuthenticationError.



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

def initialize
  super(status: 401, detail: 'Requires authentication')
end