INNER CODE UNIT · C
error_column
spheredev/neosphere · src/cell/build.c:366
error_column = jsal_get_int(-1) + 1;
jsal_pop(4);
}
visor_error(build->visor, "Cellscript crash due to uncaught exception");
visor_end_op(build->visor);
if (error_url != NULL && error_line > 0)
printf("\nCRASH: error at '%s':%d:%d\n", error_url, error_line, error_column);
else if (error_url != NULL)
printf("\nCRASH: error in '%s'\n", error_url);
else
printf("\nCRASH: uncaught JavaScript exception\n");
if (error_stack != NULL)
printf("%s\n", error_stack);
else
printf("%s\n", jsal_to_string(-1));
free(error_stack);
free(error_url);
}