> For the complete documentation index, see [llms.txt](https://www.rxjs.es/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.rxjs.es/api/indice/errorobserver.md).

# ErrorObserver

```typescript
interface ErrorObserver<T> {
  closed?: boolean;
  next?: (value: T) => void;
  error: (err: any) => void;
  complete?: () => void;
}
```

## Propiedades

| Propiedad | Tipo                 | Descripción |
| --------- | -------------------- | ----------- |
| closed    | `boolean`            |             |
| next      | `(value: T) => void` |             |
| error     | `(err: any) => void` |             |
| complete  | `() => void`         |             |

## Recursos adicionales

[![Source code](https://github.com/puntotech/rxjs-docu/blob/master/doc/api/index/assets/icons/source-code.png)](https://github.com/ReactiveX/rxjs/blob/6.5.5/src/internal/types.ts#L67-L73)

[Documentación oficial en inglés](https://rxjs.dev/api/index/interface/ErrorObserver)
