import { test_ignore_error } from "https://deno.land/x/denops_std@v3.10.1/function/vim/mod.ts";
Ignore any error containing {expr}. A normal message is given instead. This is only meant to be used in tests, where catching the error with try/catch cannot be used (because it skips over following code). {expr} is used literally, not as a pattern. When the {expr} is the string "RESET" then the list of ignored errors is made empty. Can also be used as a |method|: GetErrorText()->test_ignore_error()
Parameters
denops: Denops