File size: 666 Bytes
b32e0ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
// HF-compatible stub for error handling
export class ServiceBadAttemptError extends Error {
  constructor(message: string) {
    super(message);
    this.name = 'ServiceBadAttemptError';
  }
}

export class SecurityCompromiseError extends Error {
  constructor(message: string) {
    super(message);
    this.name = 'SecurityCompromiseError';
  }
}

export class ServiceCrashedError extends Error {
  constructor(message: string) {
    super(message);
    this.name = 'ServiceCrashedError';
  }
}

export class ServiceNodeResourceDrainError extends Error {
  constructor(message: string) {
    super(message);
    this.name = 'ServiceNodeResourceDrainError';
  }
}