Exception: Himari::DynamicClientRegistration::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/himari/dynamic_client_registration.rb

Overview

Raised on invalid client metadata. error_code maps to an RFC 7591 ยง3.2.2 error code.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_code, message) ⇒ ValidationError

Returns a new instance of ValidationError.



30
31
32
33
# File 'lib/himari/dynamic_client_registration.rb', line 30

def initialize(error_code, message)
  @error_code = error_code
  super(message)
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



35
36
37
# File 'lib/himari/dynamic_client_registration.rb', line 35

def error_code
  @error_code
end