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.
24 25 26 27 |
# File 'lib/rasn1/errors.rb', line 24 def initialize(object) @object = object super() end |
Instance Method Details
#message ⇒ String
30 31 32 |
# File 'lib/rasn1/errors.rb', line 30 def "CHOICE #{@object.name}: #chosen not set" end |