Code coverage report for src/util/ObjectUnsubscribedError.ts

Statements: 100% (7 / 7)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (5 / 5)      Ignored: none     

All files » src/util/ » ObjectUnsubscribedError.ts
1 2 3 4 5 6 7 8 9 10        1 1 2 2   1
/**
 * an error thrown when an action is invalid because the object
 * has been unsubscribed
 */
export class ObjectUnsubscribedError extends Error {
  constructor() {
    super('object unsubscribed');
    this.name = 'ObjectUnsubscribedError';
  }
}