> For the complete documentation index, see [llms.txt](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/result/ziperror.md).

# zipError

Namespace: `FsToolkit.ErrorHandling`

## Function Signature

```fsharp
Result<'ok, 'leftError> -> Result<'ok, 'rightError> -> Result<'ok, 'leftError * 'rightError>
```

## Examples

### Example 1

```fsharp
let result = Result.zipError (Ok 1) (Ok 2)
// Ok  1
```

### Example 2

```fsharp
let result = Result.zipError (Ok 1) (Error "Bad")
// Ok  1
```

### Example 3

```fsharp
let result = Result.zipError (Error "Bad1") (Error "Bad2")
// Error("Bad1", "Bad2")
```
