InstanceProfileCredentialsException
extends RuntimeException
in package
Exception thrown when an error occurs with instance profile credentials
Table of Contents
Properties
- $statusCode : string
Methods
- getStatusCode() : string|null
- Get the error response code from the service
- setStatusCode() : mixed
- Set the error response code received from the instance metadata
Properties
$statusCode
protected
string
$statusCode
Methods
getStatusCode()
Get the error response code from the service
public
getStatusCode() : string|null
Return values
string|nullsetStatusCode()
Set the error response code received from the instance metadata
public
setStatusCode(string $code) : mixed
Parameters
- $code : string
-
Response code