class Graphiti::Errors::SideloadParamsError
Public Class Methods
Source
# File lib/graphiti/errors.rb, line 261 def initialize(resource_class, sideload_name) @resource_class = resource_class @sideload_name = sideload_name end
Public Instance Methods
Source
# File lib/graphiti/errors.rb, line 266 def message <<-MSG #{@resource_class.name}: error occurred while sideloading "#{@sideload_name}"! The error was raised while attempting to build query parameters for the associated Resource. Read more about sideload scoping here: www.graphiti.dev/guides/concepts/resources#customizing-scope A good way to debug is to put a debugger within the 'params' block. Here's the original, underlying error: #{cause.class.name}: #{cause} #{cause.backtrace.join("\n")} MSG end