From 3eeb7e61bd8d422a08bf36d94b48085be6553b59 Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Wed, 16 Apr 2014 18:23:18 -0700 Subject: [PATCH] Mark reason and error as optional in new Meteor.Error --- docs/client/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client/api.js b/docs/client/api.js index 4bffbeb556..22a3e44450 100644 --- a/docs/client/api.js +++ b/docs/client/api.js @@ -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: [