Predicate getCallbackErrorParam
Gets the error parameter for a callback that is supplied to the same call as pred is an argument to.
For example: outerCall(foo, <pred>, bar, (<result>, val) => { ... }).
Import path
import semmle.javascript.security.dataflow.ExceptionXssQueryNode getCallbackErrorParam(Node pred)