aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/framework/src/actions/errorActions.ts
blob: 05d1868b18fff560d0783e45e3362f346c9e66d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { Action } from '../flux/action';

import { ErrorInfo } from '../models/errorInfo';
export { ErrorInfo } from '../models/errorInfo';

export class AddErrorInfoAction extends Action {

  constructor(public errorInfo: ErrorInfo) {
    super();
  }
}

export class RemoveErrorInfoAction extends Action {

  constructor(public errorInfo: ErrorInfo) {
    super();
  }
}

export class ClearErrorInfoAction extends Action {

  constructor() {
    super();
  }
}