Sha256: 05cf23049189c3838bfc6582e55a22b48113e4c7eed27bf5b1759c1410560ef5

Contents?: true

Size: 325 Bytes

Versions: 27

Compression:

Stored size: 325 Bytes

Contents

module Screengem
  module Factories
    #
    # Knows the behaviour for error creation primitives.
    #
    module FactoryCreationError
      def initialize(error_message)
        @error_message = error_message
      end

      def execute
        raise Screengem::ScreengemError, @error_message
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
screengem-0.21.2 lib/screengem/factories/factory_creation_error.rb
screengem-0.21.1 lib/screengem/factories/factory_creation_error.rb
screengem-0.21.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.20.1 lib/screengem/factories/factory_creation_error.rb
screengem-0.20.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.19.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.18.1 lib/screengem/factories/factory_creation_error.rb
screengem-0.18.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.17.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.16.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.15.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.14.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.13.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.12.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.11.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.10.1 lib/screengem/factories/factory_creation_error.rb
screengem-0.10.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.9.1 lib/screengem/factories/factory_creation_error.rb
screengem-0.9.0 lib/screengem/factories/factory_creation_error.rb
screengem-0.8.1 lib/screengem/factories/factory_creation_error.rb