hhvm / type-assert

Hack library for converting untyped data to typed data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include key name in exceptions?

sbilstein opened this issue · comments

Is this on the roadmap? When a type doesn't match is it possible to emit the field name? Or maybe I am missing something on this lib. Thanks!

Not supported, but really part of #14; it's definitely something I'm hoping to fix for 3.0, otherwise it'll be there in 3.1