summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2011-12-02 00:02:51 +0100
committerBert Belder <piscisaureus@Berts-MacBook-Pro.local>2011-12-02 02:21:50 +0100
commit823a443321360e089e9c6d169a6cc116e3fb50b2 (patch)
tree1c9cc4815b5e1be311054edaa2ce821717b2f916 /src/node.h
parent1ad30a2af4926b97241b4041a048046d903dc6b9 (diff)
downloadnode-new-823a443321360e089e9c6d169a6cc116e3fb50b2.tar.gz
Rename FSError to UVException and move to node.cc
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index cb58a220bb..38d3c621bf 100644
--- a/src/node.h
+++ b/src/node.h
@@ -192,6 +192,12 @@ NODE_EXTERN v8::Local<v8::Value> ErrnoException(int errorno,
const char *syscall = NULL,
const char *msg = "",
const char *path = NULL);
+
+NODE_EXTERN v8::Local<v8::Value> UVException(int errorno,
+ const char *syscall = NULL,
+ const char *msg = NULL,
+ const char *path = NULL);
+
#ifdef _WIN32
NODE_EXTERN v8::Local<v8::Value> WinapiErrnoException(int errorno,
const char *syscall = NULL, const char *msg = "",