mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Mark reason and error as optional in new Meteor.Error
This commit is contained in:
committed by
David Glasser
parent
788b5254fb
commit
3eeb7e61bd
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user