class Graphiti::Errors::InvalidType

Public Class Methods

new(key, value) click to toggle source
# File lib/graphiti/errors.rb, line 452
def initialize(key, value)
  @key = key
  @value = value
end

Public Instance Methods

message() click to toggle source
# File lib/graphiti/errors.rb, line 457
def message
  "Type must be a Hash with keys #{Types::REQUIRED_KEYS.inspect}"
end