diff --git a/lib/modules/Protocols.pmod/X.pmod/error.h b/lib/modules/Protocols.pmod/X.pmod/error.h
new file mode 100644
index 0000000000000000000000000000000000000000..c84463d673a607d18b0c54ec0e9d41bdc89e2713
--- /dev/null
+++ b/lib/modules/Protocols.pmod/X.pmod/error.h
@@ -0,0 +1,5 @@
+/* error.h
+ *
+ */
+
+#define error(x) throw( ({ (x), backtrace() }) )