JsonRpcAwsErrorFactory
in package
implements
AwsErrorFactoryInterface
uses
AwsErrorFactoryFromResponseTrait
FinalYes
Table of Contents
Interfaces
Methods
Methods
createFromContent()
public
createFromContent(string $content, array<string|int, mixed> $headers) : AwsError
Parameters
- $content : string
- $headers : array<string|int, mixed>
Return values
AwsErrorcreateFromResponse()
public
createFromResponse(ResponseInterface $response) : AwsError
Parameters
- $response : ResponseInterface
Return values
AwsErrorparseJson()
private
static parseJson(array<string, mixed> $body, array<string, array<int, string>> $headers) : AwsError
Parameters
- $body : array<string, mixed>
- $headers : array<string, array<int, string>>