code: function (evt) {
                  var data = getScriptData(evt);
                  if (!hasPathFallback(data.id)) {
                      return onError(makeError('scripterror', 'Script error', evt, [data.id]));
                  }
              }
docs: Callback for script errors.