# Exceptions

| [`AlignmentError`](../generated/xarray.AlignmentError.html.md#xarray.AlignmentError)                       | Error class for alignment failures due to incompatible arguments.   |
|-------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|
| [`CoordinateValidationError`](../generated/xarray.CoordinateValidationError.html.md#xarray.CoordinateValidationError) | Error class for Xarray coordinate validation failures.              |
| [`MergeError`](../generated/xarray.MergeError.html.md#xarray.MergeError)                               | Error class for merge failures due to incompatible arguments.       |
| [`SerializationWarning`](../generated/xarray.SerializationWarning.html.md#xarray.SerializationWarning)           | Warnings about encoding/decoding issues in serialization.           |

## DataTree

Exceptions raised when manipulating trees.

| [`TreeIsomorphismError`](../generated/xarray.TreeIsomorphismError.html.md#xarray.TreeIsomorphismError)   | Error raised if two tree objects do not share the same node structure.                      |
|-----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
| [`InvalidTreeError`](../generated/xarray.InvalidTreeError.html.md#xarray.InvalidTreeError)           | Raised when user attempts to create an invalid tree in some way.                            |
| [`NotFoundInTreeError`](../generated/xarray.NotFoundInTreeError.html.md#xarray.NotFoundInTreeError)     | Raised when operation can't be completed because one node is not part of the expected tree. |
