Exception: GraphQL::Coverage::Errors::SchemaMismatch

Inherits:
StandardError
  • Object
show all
Defined in:
lib/graphql/coverage/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected:, got:) ⇒ SchemaMismatch

Returns a new instance of SchemaMismatch.



7
8
9
# File 'lib/graphql/coverage/errors.rb', line 7

def initialize(expected:, got:)
  super("Schema mismatch: expected #{expected}, got #{got}")
end