Exception: GraphQL::Coverage::Errors::SchemaMismatch
- Inherits:
-
StandardError
- Object
- StandardError
- GraphQL::Coverage::Errors::SchemaMismatch
- Defined in:
- lib/graphql/coverage/errors.rb
Instance Method Summary collapse
-
#initialize(expected:, got:) ⇒ SchemaMismatch
constructor
A new instance of SchemaMismatch.
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 |