add line number so it can be used in error messages

This way we can use it in duo to make the error messages easier to debug :-)

https://github.com/duojs/duo/issues/184