/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to src/utils/exceptions.vala

  • Committer: Gustav Hartvigsson
  • Date: 2021-11-16 12:44:52 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20211116124452-g9245bvzwcyy9wk9
Added licencing information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
namespace VQDR {
 
1
namespace Utils {
2
2
  public errordomain ArgError {
3
3
    INVALID_ARGUMENT,
4
 
    INDEX_OUT_OF_BOUNDS;
 
4
    INDEX_OUT_OF_BOUNDS,
5
5
  }
6
6
  
7
 
  public errordomain OperandError {
8
 
    MISSING_OPERAND;
 
7
  public errordomain MathError {
 
8
    DIVIDE_BY_ZERO
9
9
  }
10
10
  
11
11
  public errordomain ParseError {
12
12
    INVALID_CHARECTER,
13
 
    NOT_READY,
14
 
    ALLREADY_PARSED,
15
 
    INVALID_DATA;
16
13
  }
17
14
  
18
15
  public errordomain EvaluationError {
19
16
    MISSING_TOKEN,
20
 
    INVALID_TOKEN;
 
17
    INVALID_TOKEN,
21
18
  }
22
 
  
 
19
 
23
20
  public errordomain ParamError {
24
 
    OUT_OF_BOUNDS;
 
21
    OUT_OF_BOUNDS
25
22
  }
26
23
 
27
 
  
28
24
  public errordomain  LoopError {
29
25
    TO_LONG,
30
 
    INFINITE;
 
26
    INFINITE
31
27
  }
 
28
  
32
29
}