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