Table of Contents
Constants
-
ACCOUNT_CODE
= 301
-
APPLICATION_CODE
= 302
-
BACKUP_CODE
= 303
-
BILL_CODE
= 321
-
BLOCK_CODE
= 304
-
BM_CODE
= 322
-
CLIENT_CODE
= 400
-
DEFAULT_CODE
= 200
-
DNS_CODE
= 305
-
FIREWALL_CODE
= 306
-
INSTANCE_CODE
= 307
-
ISO_CODE
= 308
-
KUBERNETES_CODE
= 309
-
LB_CODE
= 310
-
OBJ_CODE
= 311
-
OS_CODE
= 312
-
PLAN_CODE
= 313
-
REGION_CODE
= 316
-
RESERVED_IP_CODE
= 315
-
SERVICE_CODE
= 300
-
SNAPSHOT_CODE
= 317
-
SSH_CODE
= 318
-
STARTUP_CODE
= 319
-
USER_CODE
= 320
-
VPC_CODE
= 314
Properties
-
$http_code
: int|null
Methods
-
__construct()
: mixed
-
getHTTPCode()
: int|null
ACCOUNT_CODE
public
mixed
ACCOUNT_CODE
= 301
APPLICATION_CODE
public
mixed
APPLICATION_CODE
= 302
BACKUP_CODE
public
mixed
BACKUP_CODE
= 303
BILL_CODE
public
mixed
BILL_CODE
= 321
BLOCK_CODE
public
mixed
BLOCK_CODE
= 304
BM_CODE
public
mixed
BM_CODE
= 322
CLIENT_CODE
public
mixed
CLIENT_CODE
= 400
DEFAULT_CODE
public
mixed
DEFAULT_CODE
= 200
DNS_CODE
public
mixed
DNS_CODE
= 305
FIREWALL_CODE
public
mixed
FIREWALL_CODE
= 306
INSTANCE_CODE
public
mixed
INSTANCE_CODE
= 307
ISO_CODE
public
mixed
ISO_CODE
= 308
KUBERNETES_CODE
public
mixed
KUBERNETES_CODE
= 309
LB_CODE
public
mixed
LB_CODE
= 310
OBJ_CODE
public
mixed
OBJ_CODE
= 311
OS_CODE
public
mixed
OS_CODE
= 312
PLAN_CODE
public
mixed
PLAN_CODE
= 313
REGION_CODE
public
mixed
REGION_CODE
= 316
RESERVED_IP_CODE
public
mixed
RESERVED_IP_CODE
= 315
SERVICE_CODE
public
mixed
SERVICE_CODE
= 300
SNAPSHOT_CODE
public
mixed
SNAPSHOT_CODE
= 317
SSH_CODE
public
mixed
SSH_CODE
= 318
STARTUP_CODE
public
mixed
STARTUP_CODE
= 319
USER_CODE
public
mixed
USER_CODE
= 320
VPC_CODE
public
mixed
VPC_CODE
= 314
$http_code
protected
int|null
$http_code
= null
__construct()
public
__construct(string $message[, int $code = VultrException::SERVICE_CODE ][, int|null $http_code = null ][, Throwable|null $previous = null ]) : mixed
Parameters
-
$message
: string
-
-
$code
: int
= VultrException::SERVICE_CODE
-
-
$http_code
: int|null
= null
-
-
$previous
: Throwable|null
= null
-
getHTTPCode()
public
getHTTPCode() : int|null