Exception: Dry::Struct::RecycledStructError

Inherits:
RuntimeError
  • Object
show all
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

Constructor Details

#initializeRecycledStructError

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