# 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)
