Skip to content

Commit

Permalink
Slightly improve error message for type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Oct 5, 2010
1 parent 36ef3b7 commit 25a646d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Kernel.cs
Expand Up @@ -361,6 +361,8 @@ public class Frame: IP6 {
}

public class NieczaException: Exception {
// hide clr stack trace for these
public override string ToString() { return Message; }
public NieczaException(string detail) : base(detail) {}
public NieczaException() : base() {}
}
Expand Down

0 comments on commit 25a646d

Please sign in to comment.