class Dry::Struct::MissingAttributeError
Raised when a struct doesn’t have an attribute
def initialize(attribute:, klass:)
def initialize(attribute:, klass:) super("Missing attribute: #{attribute.inspect} on #{klass}") end
Raised when a struct doesn’t have an attribute
def initialize(attribute:, klass:) super("Missing attribute: #{attribute.inspect} on #{klass}") end