aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/context/err.v
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/context/err.v')
-rw-r--r--v_windows/v/old/vlib/context/err.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/context/err.v b/v_windows/v/old/vlib/context/err.v
new file mode 100644
index 0000000..23cfe56
--- /dev/null
+++ b/v_windows/v/old/vlib/context/err.v
@@ -0,0 +1,12 @@
+module context
+
+const none_ = IError(&None{})
+
+struct None {
+ msg string
+ code int
+}
+
+fn (_ None) str() string {
+ return 'none'
+}