class Dry::Struct::MissingAttributeError
Raised when a struct doesn't have an attribute
Public Class Methods
new(key)
click to toggle source
Calls superclass method
# File lib/dry/struct/errors.rb, line 19 def initialize(key) super("Missing attribute: #{key.inspect}") end