lib/abaaso.js
function ( e, args, scope, warning ) {
		warning = ( warning === true );
		var o   = {
			"arguments" : args !== undefined ? array.cast( args ) : [],
			message     : e.message || e,
			number      : e.number !== undefined ? ( e.number & 0xFFFF ) : undefined,
			scope       : scope,
			stack       : e.stack   || undefined,
			timestamp   : new Date().toUTCString(),
			type        : e.type    || "TypeError"
		};

		utility.log( ( o.stack || o.message || o ), !warning ? "error" : "warn" );
		utility.error.log.push( o );
		observer.fire( abaaso, "error", o );

		return undefined;
	}
function ( e, args, scope, warning ) {
		warning = ( warning === true );
		var o   = {
			"arguments" : args !== undefined ? array.cast( args ) : [],
			message     : e.message || e,
			number      : e.number !== undefined ? ( e.number & 0xFFFF ) : undefined,
			scope       : scope,
			stack       : e.stack   || undefined,
			timestamp   : new Date().toUTCString(),
			type        : e.type    || "TypeError"
		};

		utility.log( ( o.stack || o.message || o ), !warning ? "error" : "warn" );
		utility.error.log.push( o );
		observer.fire( abaaso, "error", o );

		return undefined;
	}
function ( e , args , scope , warning ) { warning = ( warning === true ) ; var o = { "arguments" : args !== undefined ? array . cast ( args ) : [ ] , message : e . message || e , number : e . number !== undefined ? ( e . number & 0xFFFF ) : undefined , scope : scope , stack : e . stack || undefined , timestamp : new Date ( ) . toUTCString ( ) , type : e . type || "TypeError" } ; utility . log ( ( o . stack || o . message || o ) , ! warning ? "error" : "warn" ) ; utility . error . log . push ( o ) ; observer . fire ( abaaso , "error" , o ) ; return undefined ; }
Error handling, with history in .log

@method error
@param  {Mixed}   e       Error object or message to display
@param  {Array}   args    Array of arguments from the callstack
@param  {Mixed}   scope   Entity that was "this"
@param  {Boolean} warning [Optional] Will display as console warning if true
@return {Undefined}       undefined
Error handling with history in . log