Show function that thrown error in error message

Show function that thrown error in error message - 消息

#1 已发布: 2016/4/2 00:06:10
Mike Kaganski

Mike Kaganski

184个赞,共434个帖子。

组: User

When an error is encountered, an error message doesn't include necessary details where exactly the error originated from.
In some deep-nested cases it may be difficult to debug some obscure errors because of that.

Please, include the specific function name that thrown the error to the error message.
As a bonus, that would be great to have a function/variable (a-la lastError) to display call stack.
С уважением, Михаил Каганский
2位用户喜欢此帖子
ioan92 2016/4/2 03:17:00, frapuano 2016/4/2 05:23:00
  • 有新帖
  • 无新帖