Sha256: 6e62879d92df6b5fd11f1aa7a35c45326ddc59e00fd007cde8084780ec71c392

Contents?: true

Size: 766 Bytes

Versions: 9

Compression:

Stored size: 766 Bytes

Contents

# frozen_string_literal: true

module Script
  module Errors
    class InvalidContextError < ScriptProjectError; end
    class InvalidScriptNameError < ScriptProjectError; end
    class NoExistingAppsError < ScriptProjectError; end
    class NoExistingOrganizationsError < ScriptProjectError; end
    class NoExistingStoresError < ScriptProjectError
      attr_reader :organization_id
      def initialize(organization_id)
        super()
        @organization_id = organization_id
      end
    end
    class ScriptProjectAlreadyExistsError < ScriptProjectError; end
    class InvalidConfigYAMLError < ScriptProjectError
      attr_reader :config_file
      def initialize(config_file)
        super()
        @config_file = config_file
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shopify-cli-1.4.1 lib/project_types/script/errors.rb
shopify-cli-1.4.0 lib/project_types/script/errors.rb
shopify-cli-1.3.1 lib/project_types/script/errors.rb
shopify-cli-1.3.0 lib/project_types/script/errors.rb
shopify-cli-1.2.0 lib/project_types/script/errors.rb
shopify-cli-1.1.2 lib/project_types/script/errors.rb
shopify-cli-1.1.1 lib/project_types/script/errors.rb
shopify-cli-1.1.0 lib/project_types/script/errors.rb
shopify-cli-1.0.5 lib/project_types/script/errors.rb