Sha256: cf9e21cc7d799066f73d64660838b3f36822814e80d1738dd4d5149a6e44787a

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 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 ServiceFailureError < ScriptProjectError; end

        class MetadataNotFoundError < ScriptProjectError; end

        class MetadataValidationError < ScriptProjectError; end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shopify-cli-1.10.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.9.1 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.9.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.8.0 lib/project_types/script/layers/domain/errors.rb
shopify-cli-1.7.1 lib/project_types/script/layers/domain/errors.rb