UNPKG

olivant

Version:

Echo the destruction caused by your code.

26 lines (19 loc) 366 B
"use strict"; const harden = require( "harden" ); //: @server: const Olivant = require( "./olivant.js" ); //: @end-server harden( "ERROR", "error" ); harden( "ERROR_CODE", 500 ); Olivant.create( "Bug", { "name": ERROR, "status": ERROR, "code": ERROR_CODE, "silent": false, "depth": 7, "color": "red", "inspect": { "depth": 5, "length": 1000 } } );