19 lines
509 B
Ruby

# This file contains all the errors that the V2 plugin interface
# may throw.
module Vagrant
module Plugin
module V2
# Exceptions that can be thrown within the plugin interface all
# inherit from this parent exception.
class Error < StandardError; end
# This is thrown when a command name given is invalid.
class InvalidCommandName < Error; end
# This is thrown when a hook "position" is invalid.
class InvalidEasyHookPosition < Error; end
end
end
end