Wrap a driver method to attach extra fields to thrown errors.
Extra fields to attach to thrown errors.
Driver instance containing the method.
Driver method name to wrap.
Wrapped driver method with extended error data.
Wrap a driver method to attach extra fields to thrown errors.