add UndefVarError type for undefined variable errors