Add ValidationExprError
This commit is contained in:
parent
2b39ce9bc8
commit
611c024a0b
|
@ -155,4 +155,14 @@ namespace Kaitai
|
||||||
|
|
||||||
protected Object actual;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue