Sha256: 17a76213bf7905f5efa328c5493ba924a35927d3c063ae8d707ae34fce78c02f

Contents?: true

Size: 316 Bytes

Versions: 64

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module Prefab
  module Errors
    class InitializationTimeoutError < Prefab::Error
      def initialize(timeout_sec, key)
        message = "Prefab couldn't initialize in #{timeout_sec} second timeout. Trying to fetch key `#{key}`."

        super(message)
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
prefab-cloud-ruby-1.8.8.pre.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.7 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.6 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.5 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.4 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.3 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.8.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.7.2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.7.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.7.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.6.2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.6.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.6.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.5.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.6.0.pre2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.6.0.pre1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.5.0 lib/prefab/errors/initialization_timeout_error.rb