Exception: RASN1::ConstraintError
- Defined in:
- lib/rasn1/errors.rb
Overview
Exception raised when a constraint is not verified on a constrained type.
Instance Method Summary collapse
-
#initialize(object) ⇒ ConstraintError
constructor
A new instance of ConstraintError.
- #message ⇒ String
Constructor Details
#initialize(object) ⇒ ConstraintError
Returns a new instance of ConstraintError.
40 41 42 43 |
# File 'lib/rasn1/errors.rb', line 40 def initialize(object) @object = object super() end |
Instance Method Details
#message ⇒ String
46 47 48 |
# File 'lib/rasn1/errors.rb', line 46 def "Constraint not verified on #{@object.inspect}" end |