Sha256: 47a34d105495dc71be92e02cfd65f87b45fdf9bb723a17bff8fb607f9ff7c096
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# frozen_string_literal: true module Script module Layers module Infrastructure module Errors class AppNotInstalledError < ScriptProjectError; end class AppScriptNotPushedError < ScriptProjectError; end class AppScriptUndefinedError < ScriptProjectError; end class BuildError < ScriptProjectError; end class DependencyInstallError < ScriptProjectError; end class ForbiddenError < ScriptProjectError; end class GraphqlError < ScriptProjectError attr_reader :errors def initialize(errors) @errors = errors super("GraphQL failed with errors: #{errors}") end end class ProjectCreatorNotFoundError < ScriptProjectError; end class ScriptRepushError < ScriptProjectError attr_reader :api_key def initialize(api_key) @api_key = api_key end end class ScriptServiceUserError < ScriptProjectError def initialize(query_name, errors) super("Failed performing #{query_name}. Errors: #{errors}.") end end class ShopAuthenticationError < ScriptProjectError; end class ShopScriptConflictError < ScriptProjectError; end class ShopScriptUndefinedError < ScriptProjectError; end class TaskRunnerNotFoundError < ScriptProjectError; end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shopify-cli-1.0.4 | lib/project_types/script/layers/infrastructure/errors.rb |
shopify-cli-1.0.3 | lib/project_types/script/layers/infrastructure/errors.rb |