aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/TrapKind.php
blob: e6f15b8e4680b98d89b2361f26cb5a8535bf642a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Execution;

enum TrapKind
{
    case Unknown;
    case Unreachable;
    case OutOfBoundsMemoryAccess;
    case OutOfBoundsTableAccess;
    case UninitializedElement;
    case IndirectCallTypeMismatch;
    case UndefinedElement;
    case DivideByZero;
    case IntegerOverflow;
}