2025-12-22 06:08:56 -05:00
|
|
|
# Copyright IBM Corp. 2010, 2025
|
2023-08-10 16:53:25 -04:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2018-06-25 15:56:54 -04:00
|
|
|
module VagrantPlugins
|
|
|
|
|
module CloudCommand
|
|
|
|
|
module Errors
|
|
|
|
|
class Error < Vagrant::Errors::VagrantError
|
|
|
|
|
error_namespace("cloud_command.errors")
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
class ServerError < Error
|
|
|
|
|
error_key(:server_error)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
class ServerUnreachable < Error
|
|
|
|
|
error_key(:server_unreachable)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
class Unauthorized < Error
|
|
|
|
|
error_key(:unauthorized)
|
|
|
|
|
end
|
|
|
|
|
|
2018-09-04 15:25:19 -04:00
|
|
|
class Unexpected < Error
|
|
|
|
|
error_key(:unexpected_error)
|
|
|
|
|
end
|
|
|
|
|
|
2018-06-25 15:56:54 -04:00
|
|
|
class TwoFactorRequired < Error
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|