Exception: ShopifyAPI::Errors::RestResourceNotLoadedError

Inherits:
NameError
  • Object
show all
Defined in:
lib/shopify_api/errors/rest_resource_not_loaded_error.rb

Overview

Raised when a REST resource class is referenced but this gem version does not bundle REST resources for the active API version.

Subclasses NameError so existing rescue NameError handling keeps working. Construct it with the missing constant name - new(message, name) - so NameError#name keeps returning it, matching the NameError Ruby would raise.