mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #8173 from hwillson/issue-7240
Adjusted DDP error docs to reflect proper error object properties
This commit is contained in:
@@ -240,7 +240,8 @@ error is an Object with the following fields:
|
||||
|
||||
* `error`: string (previously a number. See appendix 3)
|
||||
* `reason`: optional string
|
||||
* `details`: optional string
|
||||
* `message`: optional string
|
||||
* `errorType`: pre-defined string with a value of `Meteor.Error`
|
||||
|
||||
Such an Error is used to represent errors raised by the method or subscription,
|
||||
as well as an attempt to subscribe to an unknown subscription or call an unknown
|
||||
|
||||
Reference in New Issue
Block a user