UNPKG

falcor-router

Version:

A router DataSource constructor for falcor that allows you to model all your cloud data sources as a single JSON resource.

12 lines (8 loc) 366 B
var MESSAGE = "Maximum number of paths exceeded."; var MaxPathsExceededError = function MaxPathsExceededError(message) { this.message = message === undefined ? MESSAGE : message; this.stack = (new Error()).stack; }; MaxPathsExceededError.prototype = new Error(); MaxPathsExceededError.prototype.throwToNext = true; module.exports = MaxPathsExceededError;