How to use the pug-error.apply function in pug-error

To help you get started, we’ve selected a few pug-error examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pugjs / pug / packages / pug-linker / index.js View on Github external
function error() {
  throw require('pug-error').apply(null, arguments);
}

pug-error

Standard error objects for pug

MIT
Latest version published 6 months ago

Package Health Score

87 / 100
Full package analysis

Popular pug-error functions