Sha256: 9ced43c179480867bca965e1361b8cc758a87fbfd347219f2ab9073f024c60be

Contents?: true

Size: 373 Bytes

Versions: 8

Compression:

Stored size: 373 Bytes

Contents

module Vagrant
  module Exceptions
    # Raised when an action sequence is trying to be run for an uncallable
    # action (not a lambda, middleware, or registered sequence).
    class UncallableAction < ::Exception
      def initialize(callable)
        super()

        @callable = callable
      end

      def to_s
        @callable.inspect
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
vagrantup-0.5.4 lib/vagrant/exceptions/uncallable_action.rb
vagrantup-0.5.3 lib/vagrant/exceptions/uncallable_action.rb
vagrantup-0.5.2 lib/vagrant/exceptions/uncallable_action.rb
vagrantup-0.5.1 lib/vagrant/exceptions/uncallable_action.rb
vagrant-0.5.4 lib/vagrant/exceptions/uncallable_action.rb
vagrant-0.5.3 lib/vagrant/exceptions/uncallable_action.rb
vagrant-0.5.2 lib/vagrant/exceptions/uncallable_action.rb
vagrant-0.5.1 lib/vagrant/exceptions/uncallable_action.rb