From 7a4d6f66a0bb727ff20938479347415b1fa756a3 Mon Sep 17 00:00:00 2001 From: Hugh Willson Date: Mon, 19 Dec 2016 16:48:04 -0500 Subject: [PATCH] Adjusted DDP error docs to reflect proper error object properties (issue #7240). --- packages/ddp/DDP.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ddp/DDP.md b/packages/ddp/DDP.md index ca29b4b032..d9ce63731f 100644 --- a/packages/ddp/DDP.md +++ b/packages/ddp/DDP.md @@ -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