Search completed in 1.24 seconds.
8 results for "errorText":
PR_SetErrorText
syntax #include <prerror.h> void pr_set
errortext(printn textlength, const char *text) parameters the function has these parameters: textlength the length of the text in the text.
...the new value is copied into storage allocated and owned by nspr and remains there until the next call to pr_seterror or another call to pr_set
errortext.
PR_GetErrorText
syntax #include <prerror.h> print32 pr_get
errortext(char *text); parameters the function has one parameter: text on output, the array pointed to contains the thread's current error text.
PR_GetErrorTextLength
syntax #include <prerror.h> print32 pr_get
errortextlength(void) returns if a zero is returned, no error text is currently set.
nsIFeedProgressListener
66 introduced gecko 1.8 inherits from: nsifeedresultlistener last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void handleentry(in nsifeedentry entry, in nsifeedresult result); void handlefeedatfirstentry(in nsifeedresult result); void handlestartfeed(in nsifeedresult result); void reporterror(in astring
errortext, in long linenumber, in boolean bozo); methods handleentry() called after each entry or item is processed.
... void reporterror( in astring
errortext, in long linenumber, in boolean bozo ); parameters
errortext a short description of the error.
RTCPeerConnectionIceErrorEvent.address - Web APIs
examples this example creates a handler for icecandidateerror events which creates human readable messages describing the local network interface for the connection as well as the ice server that was being used to try to open the connection, then calls a function to display those as well as the event's
errortext property's contents.
... pc.addeventlistener("icecandidateerror", (event) => { let networkinfo = `[local interface: ${event.address}:${event.port}`; let iceserverinfo = `[ice server: ${event.url}`; showmessage(
errortext, iceserverinfo, networkinfo); }); specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnectioniceerrorevent.address' in that specification.
NSPR Error Handling
error type prerrorcode error functions pr_seterror pr_set
errortext pr_geterror pr_getoserror pr_get
errortextlength pr_get
errortext error codes error codes defined in prerror.h: pr_out_of_memory_error insufficient memory to perform request.
RTCPeerConnection: icecandidateerror event - Web APIs
pc.addeventlistener("icecandidateerror", (event) => { if (event.errorcode === 701) { reportconnectfail(event.url, event.
errortext); } }); note that if multiple stun and/or turn servers are provided when creating the connection, this error may happen more than once, if more than one of those servers fails.