class Graphiti::Errors::TypeNotFound
Public Class Methods
new(resource, attribute, type)
click to toggle source
# File lib/graphiti/errors.rb, line 596 def initialize(resource, attribute, type) @resource = resource @attribute = attribute @type = type end
Public Instance Methods
message()
click to toggle source
# File lib/graphiti/errors.rb, line 602 def message <<~MSG Could not find type #{@type.inspect}! This was specified on attribute #{@attribute.inspect} within resource #{@resource.name} Valid types are: #{Graphiti::Types.map.keys.inspect} MSG end