Changeset 20711

Show
Ignore:
Timestamp:
10/04/08 22:35:24 (5 years ago)
Author:
tokuhirom
Message:

better error message

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/llv8call/trunk/ext/fs/fs.h

    r20526 r20711  
    66static inline Handle<Value> throw_stderr(const char *msg) { 
    77    std::string buf(msg); 
    8     buf += "error: "; 
     8    buf += " error: "; 
    99    buf += strerror(errno); 
    1010    return ThrowException(String::New(buf.c_str()));