#ifndef EXCEPTION_H #define EXCEPTION_H typedef enum { EXCEPTION_NONE, EXCEPTION_STACK_OVERFLOW, EXCEPTION_STACK_UNDERFLOW, EXCEPTION_INVALID_OPCODE } VMBL_ExceptionType; typedef struct { VMBL_ExceptionType type; } VMBL_Exception; char* exceptionAsCString(VMBL_Exception exception); #endif