tunnckoCore / assert-kindof

Check native type of the given value and throw TypeError if not okey. Expressive, elegant, behavior-driven API, good descriptive default error messages, simple and clean syntax.
http://j.mp/19crqvf
MIT License
4 stars 0 forks source link

its possible `line` property to be 0 #3

Closed tunnckoCore closed 8 years ago

tunnckoCore commented 9 years ago

which is not okey

it can be caused if module.parent.filename path (which being passed to KindError as e.filepath) isn't in the error stack.