StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/template-error
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
node_modules fix the frontend 3 years ago
LICENSE fix the frontend 3 years ago
README.md fix the frontend 3 years ago
index.js fix the frontend 3 years ago
package.json fix the frontend 3 years ago

README.md

template-error NPM version

Make template errors easy to understand and fix.

Install

Install with npm

$ npm i template-error --save

Usage

var rethrow = require('template-error');

rethrow('\n<%= a %>\n<%= b %>', {
  data: {a: 'aaa'}
});

When a template variable is not defined, like <%= b %> in the example above, instead of getting a cryptic error message and wasting time on debugging, you get this:

screen shot 2015-08-11 at 3 35 27 am

rethrow: Re-throw an error to get better error reporting for templates. | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on August 21, 2015.