Mark reason and error as optional in new Meteor.Error

This commit is contained in:
Dan Dascalescu
2014-04-16 18:23:18 -07:00
committed by David Glasser
parent 788b5254fb
commit 3eeb7e61bd

View File

@@ -404,7 +404,7 @@ Template.api.method_invocation_connection = {
Template.api.error = {
id: "meteor_error",
name: "new Meteor.Error(error, reason, details)",
name: "new Meteor.Error(error [, reason] [, details])",
locus: "Anywhere",
descr: ["This class represents a symbolic error thrown by a method."],
args: [