MeteorJS错误类

时间:2013-03-29 20:02:08

标签: error-handling meteor

在某些代码中,在客户端上运行,加载到“lib”子文件夹中,我试图抛出一个Meteor.Error(),但我得到一些时髦的东西......

*Uncaught [object Object]* 

http://screencast.com/t/0WipUFRs

这是我的代码:

throw new Meteor.Error(500, 'the auction was not found');

这是某种加载订单问题吗?或者我的语法错了?或者什么?

  • 陨石版本0.4.9
  • Meteor版本0.5.9(git checkout)

1 个答案:

答案 0 :(得分:0)

已弃用 - 这不再是Meteor超过v 0.6.3的问题