Sha256: 12994dc556e77d8def3afa995f1320c58942b3abbd41d99c97c408b31eb266f0

Contents?: true

Size: 1.17 KB

Versions: 22

Compression:

Stored size: 1.17 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 MissingScriptConfigFieldError < ScriptProjectError
          attr_reader :field, :filename
          def initialize(field:, filename:)
            super()
            @field = field
            @filename = filename
          end
        end

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

        class MetadataNotFoundError < ScriptProjectError
          attr_reader :filename
          def initialize(filename)
            super()
            @filename = filename
          end
        end

        class MetadataValidationError < ScriptProjectError; end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
shopify-cli-2.25.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.24.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.23.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.22.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.21.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.20.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.20.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.19.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.18.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.18.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.17.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.16.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.16.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.6 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.5 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.4 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.3 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.2 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-2.15.0 lib/project_types/script/layers/domain/errors.rb