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

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