Class InstanceProfileCredentialsException
Exception thrown when an error occurs with instance profile credentials
- Exception
-
RuntimeException
-
Aws\Common\Exception\RuntimeException
implements
Aws\Common\Exception\AwsExceptionInterface
-
Aws\Common\Exception\InstanceProfileCredentialsException
Namespace: Aws\Common\Exception
Located at Aws/Common/Exception/InstanceProfileCredentialsException.php
Located at Aws/Common/Exception/InstanceProfileCredentialsException.php
Methods summary
-
publicsetStatusCode ( string $code )Set the error response code received from the instance metadata
-
publicgetStatusCode ( )Get the error response code from the service
Methods detail
Set the error response code received from the instance metadata
Parameters
- $code
string
$code Response code
Get the error response code from the service
Returns
string|nullMethods inherited from Exception
__construct(),
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Magic methods summary
Properties summary
protected
string
|
$statusCode |