Server
this.error(error)
Call inside the publish function. Stops this client's subscription, triggering a call on the client to the onStop callback passed to Meteor.subscribe, if any. If error is not a Meteor.Error, it will be sanitized.
Arguments
- error Error
-
The error to pass to the client.
Please login to continue.