Sha256: 2fe8d76f235a86973b6c0052c4350fe309b58b1948aec485abe1411b1dea6bd7

Contents?: true

Size: 1.13 KB

Versions: 21

Compression:

Stored size: 1.13 KB

Contents

# frozen_string_literal: true

module Script
  module Layers
    module Domain
      module Errors
        class PushPackageNotFoundError < ScriptProjectError; end

        class InvalidExtensionPointError < ScriptProjectError
          attr_reader :type
          def initialize(type)
            super()
            @type = type
          end
        end

        class MissingScriptJsonFieldError < ScriptProjectError
          attr_reader :field
          def initialize(field)
            super()
            @field = field
          end
        end

        class InvalidScriptJsonDefinitionError < ScriptProjectError; end
        class NoScriptJsonFile < ScriptProjectError; end

        class ScriptNotFoundError < ScriptProjectError
          attr_reader :script_name, :extension_point_type
          def initialize(extension_point_type, script_name)
            super()
            @script_name = script_name
            @extension_point_type = extension_point_type
          end
        end

        class MetadataNotFoundError < ScriptProjectError; end

        class MetadataValidationError < ScriptProjectError; end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
shopify-cli-2.7.2 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.7.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.7.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.6 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.5 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.4 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.3 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.2 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.6.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.5.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.4.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.3.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.2.2 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.2.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.2.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.1.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.0.2 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.0.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.0.0 lib/project_types/script/layers/domain/errors.rb