Sha256: 170f29ef8037fa26a0904f55efbc56799c1f171a26c853d60be8c71039bdff5e

Contents?: true

Size: 1.23 KB

Versions: 4

Compression:

Stored size: 1.23 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 InvalidConfigUiDefinitionError < ScriptProjectError
          attr_reader :filename
          def initialize(filename)
            super()
            @filename = filename
          end
        end

        class MissingSpecifiedConfigUiDefinitionError < ScriptProjectError
          attr_reader :filename
          def initialize(filename)
            super()
            @filename = filename
          end
        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

4 entries across 4 versions & 1 rubygems

Version Path
shopify-cli-1.13.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.13.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.12.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.11.0 lib/project_types/script/layers/domain/errors.rb