> Documentation index: [Saleor](/llms.txt) · [This section](/developer/llms.txt)
> Source: https://docs.saleor.io/developer/bulks/error-policy

# Error Policy

Error policies were added to Saleor to allow users to choose how bulk mutations should behave if an error occurs. All new bulk mutations support `errorPolicy` argument.

<a id="options"></a>

## Options

There are three options, how the mutation can handle errors:

<a id="reject_everything-default"></a>

### REJECT\_EVERYTHING (default)

This is default error policy. If a single error occurs, in at least one of the objects, the whole mutation fails and no data is saved.

<a id="reject_failed_rows"></a>

### REJECT\_FAILED\_ROWS

The mutation saves only those objects, which do not produce any error.

<a id="ignore_failed"></a>

### IGNORE\_FAILED

If an error occurs for some object, Saleor will try to save it partially and skip the invalid part, if it is possible.

<a id="policy-exceptions"></a>

## Policy exceptions

Some mutations can have specific errors, which can change the error policy behavior. For example [`orderBulkCreate`](/developer/bulks/bulk-orders.md#error-policy).
