non_std 0.1.4

Collection of general purpose tools for solving problems. Fundamentally extend the language without spoiling, so may be used solely or in conjunction with another module of such kind.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let _ = require( 'wTools' );
// _.include( 'wFiles' );
// uncomment to have source code in error report

try
{
  throw _.error.err( 'Simplest error sample' );
}
catch( err )
{
  let error = err;
  throw error;
}

/*
  Simplest sample of throwing errors.
  Routune _.err generates stateful error object.
*/