ryanswapp:errors

A pattern to display application errors to the user"


Install
meteor add ryanswapp:errors@=0.0.13

Documentation

Simple Errors Helper

This package adds simple error messages to wherever you'd like them to appear!

Usage

meteor add ryanswapp:errors

To include in your project add the following helper:

{{> meteorErrors}}

In your logic add an error with:

Errors.throw();

Example:

if (error) {
  Errors.throw(error.reason);
}