aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/TrapKind.php
blob: a92b9734c1fee8e020acf54493a1d45181d6237b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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;
    case InvalidConversionToInteger;
}