Exception: RASN1::ChoiceError
- Defined in:
- lib/rasn1/errors.rb
Overview
CHOICE error: Types::Choice#chosen not set
Instance Method Summary collapse
-
#initialize(object) ⇒ ChoiceError
constructor
A new instance of ChoiceError.
- #message ⇒ String
Constructor Details
#initialize(object) ⇒ ChoiceError
Returns a new instance of ChoiceError.
30 31 32 33 |
# File 'lib/rasn1/errors.rb', line 30 def initialize(object) @object = object super() end |
Instance Method Details
#message ⇒ String
36 37 38 |
# File 'lib/rasn1/errors.rb', line 36 def "CHOICE #{@object.name}: #chosen not set" end |