Enum APIErrorCode

java.lang.Object
java.lang.Enum<APIErrorCode>
me.tomsdevsn.hetznercloud.objects.general.APIErrorCode
All Implemented Interfaces:
Serializable, Comparable<APIErrorCode>, java.lang.constant.Constable

public enum APIErrorCode extends Enum<APIErrorCode>
  • Enum Constant Details

    • forbidden

      public static final APIErrorCode forbidden
    • invalid_input

      public static final APIErrorCode invalid_input
    • json_error

      public static final APIErrorCode json_error
    • locked

      public static final APIErrorCode locked
    • not_found

      public static final APIErrorCode not_found
    • rate_limit_exceeded

      public static final APIErrorCode rate_limit_exceeded
    • resource_limit_exceeded

      public static final APIErrorCode resource_limit_exceeded
    • resource_unavailable

      public static final APIErrorCode resource_unavailable
    • service_error

      public static final APIErrorCode service_error
    • uniqueness_error

      public static final APIErrorCode uniqueness_error
    • _protected

      public static final APIErrorCode _protected
    • maintenance

      public static final APIErrorCode maintenance
    • conflict

      public static final APIErrorCode conflict
    • unsupported_error

      public static final APIErrorCode unsupported_error
    • token_readonly

      public static final APIErrorCode token_readonly
    • unavailable

      public static final APIErrorCode unavailable
    • unauthorized

      public static final APIErrorCode unauthorized
    • caa_record_does_not_allow_ca

      public static final APIErrorCode caa_record_does_not_allow_ca
    • ca_dns_validation_failed

      public static final APIErrorCode ca_dns_validation_failed
    • ca_too_many_authorizations_failed_recently

      public static final APIErrorCode ca_too_many_authorizations_failed_recently
    • ca_too_many_certificates_issued_for_registered_domain

      public static final APIErrorCode ca_too_many_certificates_issued_for_registered_domain
    • ca_too_many_duplicate_certificates

      public static final APIErrorCode ca_too_many_duplicate_certificates
    • could_not_verify_domain_delegated_to_zone

      public static final APIErrorCode could_not_verify_domain_delegated_to_zone
    • dns_zone_not_found

      public static final APIErrorCode dns_zone_not_found
    • dns_zone_is_secondary_zone

      public static final APIErrorCode dns_zone_is_secondary_zone
    • server_already_added

      public static final APIErrorCode server_already_added
    • incompatible_network_type

      public static final APIErrorCode incompatible_network_type
    • firewall_resource_not_found

      public static final APIErrorCode firewall_resource_not_found
    • resource_in_use

      public static final APIErrorCode resource_in_use
    • firewall_already_applied

      public static final APIErrorCode firewall_already_applied
    • firewall_already_removed

      public static final APIErrorCode firewall_already_removed
    • firewall_managed_by_label_selector

      public static final APIErrorCode firewall_managed_by_label_selector
    • cloud_resource_ip_not_allowed

      public static final APIErrorCode cloud_resource_ip_not_allowed
    • ip_not_owned

      public static final APIErrorCode ip_not_owned
    • load_balancer_not_attached_to_network

      public static final APIErrorCode load_balancer_not_attached_to_network
    • robot_unavailable

      public static final APIErrorCode robot_unavailable
    • server_not_attached_to_network

      public static final APIErrorCode server_not_attached_to_network
    • source_port_already_used

      public static final APIErrorCode source_port_already_used
    • target_already_defined

      public static final APIErrorCode target_already_defined
    • load_balancer_already_attached

      public static final APIErrorCode load_balancer_already_attached
    • ip_not_available

      public static final APIErrorCode ip_not_available
    • no_subnet_available

      public static final APIErrorCode no_subnet_available
    • invalid_load_balancer_type

      public static final APIErrorCode invalid_load_balancer_type
    • targets_without_use_private_ip

      public static final APIErrorCode targets_without_use_private_ip
    • server_not_stopped

      public static final APIErrorCode server_not_stopped
    • server_has_ipv4

      public static final APIErrorCode server_has_ipv4
    • server_has_ipv6

      public static final APIErrorCode server_has_ipv6
    • primary_ip_already_assigned

      public static final APIErrorCode primary_ip_already_assigned
    • server_is_load_balancer_target

      public static final APIErrorCode server_is_load_balancer_target
    • server_error

      public static final APIErrorCode server_error
    • placement_error

      public static final APIErrorCode placement_error
    • primary_ip_assigned

      public static final APIErrorCode primary_ip_assigned
    • primary_ip_datacenter_mismatch

      public static final APIErrorCode primary_ip_datacenter_mismatch
    • primary_ip_version_mismatch

      public static final APIErrorCode primary_ip_version_mismatch
    • server_already_attached

      public static final APIErrorCode server_already_attached
    • networks_overlap

      public static final APIErrorCode networks_overlap
    • invalid_server_type

      public static final APIErrorCode invalid_server_type
    • no_space_left_in_location

      public static final APIErrorCode no_space_left_in_location
  • Method Details

    • values

      public static APIErrorCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static APIErrorCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null