Exception: Himari::DynamicClientRegistration::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Himari::DynamicClientRegistration::ValidationError
- 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
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code, message) ⇒ ValidationError
constructor
A new instance of ValidationError.
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, ) @error_code = error_code super() end |
Instance Attribute Details
#error_code ⇒ Object (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 |