Add ValidationExprError

This commit is contained in:
Petr Pucil 2020-05-21 22:39:41 +02:00
parent 2b39ce9bc8
commit 611c024a0b
1 changed files with 10 additions and 0 deletions

View File

@ -155,4 +155,14 @@ namespace Kaitai
protected Object actual;
}
public class ValidationExprError : ValidationFailedError {
public ValidationExprError(Object actual, KaitaiStream io, string srcPath)
: base("not matching the expression, got " + actual, io, srcPath)
{
this.actual = actual;
}
protected Object actual;
}
}