### Hierarchy

- BaseController
  - ErrorController

### Implements

- IErrorController

## Index

### Constructors

- constructor

### Properties

- _state
- children
- parent
- scope

### Accessors

- state

### Methods

- abort
- emit
- fail
- stop

## Constructors

### constructor

- new ErrorController(options: ConstructorOptions): ErrorController

- Inherited from BaseController.constructor

  - Defined in preserve/lib/control/controllers/ErrorController.ts:39

  #### Parameters

  - ##### options: ConstructorOptions

  #### Returns ErrorController

## Properties

### Protected _state

_state: State

Inherited from BaseController._state

- Defined in preserve/lib/control/controllers/BaseController.ts:16

### Protected children

children: IErrorController[]

- Defined in preserve/lib/control/controllers/ErrorController.ts:39

### Protected Optional parent

parent: IErrorController

- Defined in preserve/lib/control/controllers/ErrorController.ts:38

### Protected scope

scope: Scope

Inherited from BaseController.scope

- Defined in preserve/lib/control/controllers/BaseController.ts:17

## Accessors

### state

- get state(): State

- Implementation of IErrorController.state

  - Defined in preserve/lib/control/controllers/BaseController.ts:19

  #### Returns State

## Methods

### abort

- abort(__namedParameters?: Abort): AsyncGenerator<Stop | Abort, void, void>

- Implementation of IErrorController.abort

  - Defined in preserve/lib/control/controllers/ErrorController.ts:78

  #### Parameters

  - ##### __namedParameters: Abort = ...

  #### Returns AsyncGenerator<Stop | Abort, void, void>

### emit

- emit<E>(event: Pick<E, Exclude<keyof E, "scope">>): E

- Implementation of IErrorController.emit

  Inherited from BaseController.emit

  - Defined in preserve/lib/control/controllers/BaseController.ts:30

  #### Type parameters

  - #### E: Event

  #### Parameters

  - ##### event: Pick<E, Exclude<keyof E, "scope">>

  #### Returns E

### fail

- fail(__namedParameters?: Fail): AsyncGenerator<Stop | Fail | Abort, void, void>

- Implementation of IErrorController.fail

  - Defined in preserve/lib/control/controllers/ErrorController.ts:58

  #### Parameters

  - ##### __namedParameters: Fail = ...

  #### Returns AsyncGenerator<Stop | Fail | Abort, void, void>

### stop

- stop(__namedParameters?: Stop): AsyncGenerator<Stop, void, void>

- Implementation of IErrorController.stop

  - Defined in preserve/lib/control/controllers/ErrorController.ts:98

  #### Parameters

  - ##### __namedParameters: Stop = ...

  #### Returns AsyncGenerator<Stop, void, void>

Generated using TypeDoc