start adding VM error constants
use constants for VM errors