NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class DeleteMultipleObjectsException

Exception thrown when errors occur in a DeleteMultipleObjects request

  Exception
  RuntimeException
  Aws\Common\Exception\RuntimeException implements Aws\Common\Exception\AwsExceptionInterface
  Aws\Common\Exception\ServiceResponseException
  Aws\S3\Exception\S3Exception
  Aws\S3\Exception\DeleteMultipleObjectsException

Namespace: Aws\S3\Exception
Located at Aws/S3/Exception/DeleteMultipleObjectsException.php

## Methods summary

- `public` `__construct ( array $errors = array() )`
- `public` `getErrors ( )`

  Get the errored objects

## Methods detail

# `public`
`__construct( array $errors = array() )`

#### Parameters

$errors
  `array`
  $errors Array of errors

#### Overrides

`Exception::__construct`
# `public array`
`getErrors( )`

Get the errored objects

#### Returns

`array`
Returns an array of associative arrays, each containing a 'Code', 'Message', and 'Key' key.

### Methods inherited from Aws\Common\Exception\ServiceResponseException

`__toString()`, `getAwsErrorCode()`, `getAwsErrorType()`, `getAwsRequestId()`, `getExceptionCode()`, `getExceptionType()`, `getRequest()`, `getRequestId()`, `getResponse()`, `getStatusCode()`, `setExceptionCode()`, `setExceptionType()`, `setRequest()`, `setRequestId()`, `setResponse()`

### Methods inherited from Exception

`__wakeup()`, `getCode()`, `getFile()`, `getLine()`, `getMessage()`, `getPrevious()`, `getTrace()`, `getTraceAsString()`

### Magic methods summary

## Properties summary

`protected array` | $errors | # Array of errors

### Properties inherited from Aws\Common\Exception\ServiceResponseException

`$exceptionCode`, `$exceptionType`, `$request`, `$requestId`, `$response`

### Properties inherited from Exception

`$code`, `$file`, `$line`, `$message`