import { setAbortOnFatalError } from "https://deno.land/x/libclang@1.0.0-beta.8/mod.ts";
When called with true
, installs error handler that prints error message
to stderr and calls abort(). This replaces the currently installed error
handler (if any).
When called with false
, removes the currently installed error handler (if any).
If no error handler is intalled, the default strategy is to print error
message to stderr and call exit(1).
WARNING: This API is not supported on Windows and will throw an error if called.