1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-13 03:02:49 +00:00

updated bunch of file paths and changed the way posts are loaded

This commit is contained in:
2016-01-05 12:28:04 -06:00
parent 4bb8cae81e
commit 6ab45fe935
13249 changed files with 317868 additions and 2101398 deletions

13
node_modules/verror/examples/verror.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
var mod_fs = require('fs');
var mod_verror = require('../lib/verror');
var filename = '/nonexistent';
mod_fs.stat(filename, function (err1) {
var err2 = new mod_verror.VError(err1, 'failed to stat "%s"', filename);
/* The following would normally be higher up the stack. */
var err3 = new mod_verror.VError(err2, 'failed to handle request');
console.log(err3.message);
console.log(err3.stack);
});