diff --git a/src/bindx/Bind.hx b/src/bindx/Bind.hx index 4e7dcb9..2d65cfb 100644 --- a/src/bindx/Bind.hx +++ b/src/bindx/Bind.hx @@ -65,7 +65,7 @@ class Bind { var res = null; try { res = checkField(field); - if (res.error != null) throw res.error; + if (res.error != null) res.error.contextError(); } catch (e:FatalError) { e.contextFatal(); } catch (e:bindx.Error) {