function callback(error, resultPayload, wasThrown)
        {
            var result;
            if (error || !resultPayload)
                result = this._status.E_PROTOCOLERROR(error.toString());
            else if (wasThrown)
                result = { isException: true, value: resultPayload.description };
            else
                result = { value: resultPayload.value };

            this._dispatchCallback(message.requestId, port, result);
        }
@param {?Protocol.Error} error
@param {?RuntimeAgent.RemoteObject} resultPayload
@param {boolean=} wasThrown
@this {WebInspector.ExtensionServer}