Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: runtime/bin/dartutils.h

Issue 9699017: Start better error reporting for sockets (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added tests Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/dartutils.h
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
index 8961204dec893eb536db74fa0d3dc98ad396ab19..a1068e0d0808b52f203d8e9473192ed829f76202 100644
--- a/runtime/bin/dartutils.h
+++ b/runtime/bin/dartutils.h
@@ -165,6 +165,8 @@ class CObject {
static CObject* IllegalArgumentError();
// Create a new CObject array with the current OS error.
static CObject* NewOSError();
+ // Create a new CObject array with the specified OS error.
+ static CObject* NewOSError(OSError* os_error);
protected:
CObject() : cobject_(NULL) {}

Powered by Google App Engine
This is Rietveld 408576698