class Graphiti::Errors::UnsupportedOperator

Public Class Methods

new(resource, filter_name, supported, operator) click to toggle source
# File lib/graphiti/errors.rb, line 100
def initialize(resource, filter_name, supported, operator)
  @resource = resource
  @filter_name = filter_name
  @supported = supported
  @operator = operator
end

Public Instance Methods

message() click to toggle source
# File lib/graphiti/errors.rb, line 107
      def message
        <<~MSG
          #{@resource.class}: Tried to filter #{@filter_name.inspect} on operator #{@operator.inspect}, but not supported! Supported operators are #{@supported}.
        MSG
      end