Exception: SAML::FormError
- Defined in:
- lib/saml/errors.rb
Instance Attribute Summary
Attributes inherited from SAMLError
Instance Method Summary collapse
-
#initialize(form, code = {}) ⇒ FormError
constructor
A new instance of FormError.
Constructor Details
#initialize(form, code = {}) ⇒ FormError
Returns a new instance of FormError.
50 51 52 53 54 55 56 |
# File 'lib/saml/errors.rb', line 50 def initialize(form, code = {}) @code = code || form.error_code @tag = form.error_instrumentation_code @level = form.errors_hash[:level] @context = form.errors_context super(form.) end |