wvtest/javascript/v8shell.cc
v8::Handle<v8::Value> ErrnoException(const char *prefix, int errnum) {
  char errbuf[128];
  snprintf(errbuf, sizeof(errbuf), "%s: %s", prefix, strerror(errnum));
  return StringException(errbuf);
}
// Returns an exception object corresponding to the Unix errno.
Returns an exception object corresponding to the Unix errno.
Returns an exception object corresponding to the Unix errno .
v8::Handle<v8::Value> ErrnoException(const char *prefix, int errnum) {
  char errbuf[128];
  snprintf(errbuf, sizeof(errbuf), "%s: %s", prefix, strerror(errnum));
  return StringException(errbuf);
}
v8 :: Handle < v8 :: Value > ErrnoException ( const char * prefix , int errnum ) { char errbuf [ 128 ] ; snprintf ( errbuf , sizeof ( errbuf ) , " " , prefix , strerror ( errnum ) ) ; return StringException ( errbuf ) ; }
Returns an exception object corresponding to the Unix errno.
Returns an exception object corresponding to the Unix errno .