aboutsummaryrefslogtreecommitdiff
path: root/dotnet/Mammoth/Couscous/HorribleHacks.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Mammoth/Couscous/HorribleHacks.cs')
-rw-r--r--dotnet/Mammoth/Couscous/HorribleHacks.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/dotnet/Mammoth/Couscous/HorribleHacks.cs b/dotnet/Mammoth/Couscous/HorribleHacks.cs
index 9f1ac30..c97dc0a 100644
--- a/dotnet/Mammoth/Couscous/HorribleHacks.cs
+++ b/dotnet/Mammoth/Couscous/HorribleHacks.cs
@@ -26,5 +26,9 @@ namespace Mammoth.Couscous {
internal static bool equals(this TokenType first, TokenType second) {
return first == second;
}
+
+ internal static string getMessage(this System.Exception exception) {
+ return exception.Message;
+ }
}
}