pub enum ApiError {
Show 60 variants
Unavailable,
NotFound {
message: String,
},
ServerNotFound {
message: String,
},
IpNotFound {
message: String,
},
SubnetNotFound {
message: String,
},
MacNotFound {
message: String,
},
MacNotAvailable {
message: String,
},
MacAlreadySet {
message: String,
},
MacFailed {
message: String,
},
WolNotAvailable {
message: String,
},
WolFailed {
message: String,
},
WindowsOutdatedVersion {
message: String,
},
WindowsMissingAddon {
message: String,
},
PleskMissingAddon {
message: String,
},
CpanelMissingAddon {
message: String,
},
RateLimitExceeded {
message: String,
max_request: u32,
interval: u32,
},
ResetNotAvailable {
message: String,
},
StorageboxNotFound {
message: String,
},
StorageboxSubaccountNotFound {
message: String,
},
StorageboxSubaccountLimitExceeded {
message: String,
},
SnapshotNotFound {
message: String,
},
SnapshotLimitExceeded {
message: String,
},
FirewallPortNotFound {
message: String,
},
FirewallNotAvailable {
message: String,
},
FirewallTemplateNotFound {
message: String,
},
FirewallInProcess {
message: String,
},
VswitchLimitReached {
message: String,
},
VswitchNotAvailable {
message: String,
},
VswitchServerLimitReached {
message: String,
},
VswitchPerServerLimitReached {
message: String,
},
VswitchInProcess {
message: String,
},
VswitchVlanNotUnique {
message: String,
},
ResetManualActive {
message: String,
},
KeyUpdateFailed {
message: String,
},
KeyCreateFailed {
message: String,
},
KeyDeleteFailed {
message: String,
},
KeyAlreadyExists {
message: String,
},
RdnsNotFound {
message: String,
},
RdnsCreateFailed {
message: String,
},
RdnsUpdateFailed {
message: String,
},
RdnsDeleteFailed {
message: String,
},
RdnsAlreadyExists {
message: String,
},
ResetFailed {
message: String,
},
InvalidInput {
message: String,
missing: Vec<String>,
invalid: Vec<String>,
},
Conflict {
message: String,
},
ServerCancellationReserveLocationFalseOnly {
message: String,
},
TrafficWarningUpdateFailed {
message: String,
},
BootNotAvailable {
message: String,
},
InternalError {
message: String,
},
FailoverAlreadyRouted {
message: String,
},
FailoverFailed {
message: String,
},
FailoverLocked {
message: String,
},
FailoverNotComplete {
message: String,
},
FailoverNewServerNotFound {
message: String,
},
ServerReversalNotPossible {
message: String,
},
BootActivationFailed {
message: String,
},
BootDeactivationFailed {
message: String,
},
BootAlreadyEnabled {
message: String,
},
BootBlocked {
message: String,
},
Generic(GenericError),
}
Expand description
Error returned by the Hetzner Robot API.
Variants§
Resource Unavailable.
NotFound
Resource not found.
ServerNotFound
Server not found.
IpNotFound
IP address not found.
SubnetNotFound
Subnet not found.
MacNotFound
MAC address not found.
MacNotAvailable
MAC address not available.
MacAlreadySet
MAC address already set.
MacFailed
MAC address failure.
WolNotAvailable
Wake-on-LAN not available.
WolFailed
Wake-on-LAN failed.
WindowsOutdatedVersion
Outdated Windows version.
WindowsMissingAddon
Missing Windows addon.
PleskMissingAddon
Missing Plesk addon.
CpanelMissingAddon
Missing CPanel addon.
RateLimitExceeded
API Rate limit exceeded.
Fields
ResetNotAvailable
Reset not available.
StorageboxNotFound
Storage Box not found.
StorageboxSubaccountNotFound
Storage Box sub-account not found.
StorageboxSubaccountLimitExceeded
Storage Box sub-account limit exceeded.
SnapshotNotFound
Snapshot not found.
SnapshotLimitExceeded
Snapshot limit exceeded.
FirewallPortNotFound
Firewall port not found.
FirewallNotAvailable
Firewall not available.
FirewallTemplateNotFound
Firewall template not found.
FirewallInProcess
Firewall is already processing a request.
VswitchLimitReached
vSwitch limit reached.
VswitchNotAvailable
vSwitch not available.
VswitchServerLimitReached
vSwitch server limit reached.
VswitchPerServerLimitReached
vSwitch-per-server limit reached.
VswitchInProcess
vSwitch is already processing a request.
VswitchVlanNotUnique
vSwitch VLAN-ID is not unique.
ResetManualActive
Manual reset is active.
KeyUpdateFailed
Key update failed.
KeyCreateFailed
Key creation failed.
KeyDeleteFailed
Key deletion failed.
KeyAlreadyExists
Key already exists.
RdnsNotFound
Reverse DNS entry not found.
RdnsCreateFailed
Reverse DNS entry creation failed.
RdnsUpdateFailed
Reverse DNS update failed.
RdnsDeleteFailed
Reverse DNS entry deletion failed.
RdnsAlreadyExists
Reverse DNS entry already exists.
ResetFailed
Reset failed.
InvalidInput
Invalid input.
Fields
Conflict
Conflict.
ServerCancellationReserveLocationFalseOnly
Server cancellation “reserve location” must be false.
TrafficWarningUpdateFailed
Traffic warning update failed.
BootNotAvailable
Boot is not available.
InternalError
Internal Error.
FailoverAlreadyRouted
Failover is already routed.
FailoverFailed
Failover failed.
FailoverLocked
Failover is locked.
FailoverNotComplete
Failover not complete.
FailoverNewServerNotFound
New failover server not found.
ServerReversalNotPossible
Withdrawal of server order not possible.
BootActivationFailed
Boot activation failed.
BootDeactivationFailed
Boot deactivation failed.
BootAlreadyEnabled
Boot already enabled.
BootBlocked
Boot blocked.
Generic(GenericError)
Unknown/generic error.