class Graphiti::Errors::UnsupportedOperator
Public Class Methods
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
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