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.4.5 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.4.4 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.4.3 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.4.2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.4.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.4.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.3.2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.3.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.3.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.2.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.2.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.1.2 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.1.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.1.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.0.1 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-1.0.0 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-0.24.6 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-0.24.5 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-0.24.4 lib/prefab/errors/initialization_timeout_error.rb
prefab-cloud-ruby-0.24.3 lib/prefab/errors/initialization_timeout_error.rb