Exception: Dry::Struct::RecycledStructError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Dry::Struct::RecycledStructError
- Defined in:
- lib/dry/struct/errors.rb
Overview
When struct class stored in ast was garbage collected because no alive objects exists This shouldn't happen in a working application
Instance Method Summary collapse
-
#initialize ⇒ RecycledStructError
constructor
A new instance of RecycledStructError.
Constructor Details
#initialize ⇒ RecycledStructError
Returns a new instance of RecycledStructError.
27 28 29 |
# File 'lib/dry/struct/errors.rb', line 27 def initialize super("Reference to struct class was garbage collected") end |