class GraphQL::InvariantError

This error is raised when GraphQL-Ruby encounters a situation that it thought would never happen. Please report this bug!

Public Class Methods

new(message) click to toggle source
Calls superclass method
# File lib/graphql.rb, line 24
    def initialize(message)
      message += "

This is probably a bug in GraphQL-Ruby, please report this error on GitHub: https://github.com/rmosolgo/graphql-ruby/issues/new?template=bug_report.md"
      super(message)
    end