Exception: ShopifyExtensions::InstallationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
ext/shopify-extensions/shopify_extensions.rb

Class Method Summary collapse

Class Method Details

.asset_not_found(platform:, version:) ⇒ Object



58
59
60
61
62
63
64
65
# File 'ext/shopify-extensions/shopify_extensions.rb', line 58

def self.asset_not_found(platform:, version:)
  new(format(
    "Unable to download shopify-extensions %{version} for %{os} (%{cpu})",
    version: version,
    os: platform.os,
    cpu: platform.cpu
  ))
end

.installation_failedObject



54
55
56
# File 'ext/shopify-extensions/shopify_extensions.rb', line 54

def self.installation_failed
  new("Failed to install shopify-extensions properly")
end