lib/dataprovider.js
function failure(exception) {
		var message;
		message = proto.writeFailure(exception);
		notify(message);
		return that;
	}
function failure(exception) {
		var message;
		message = proto.writeFailure(exception);
		notify(message);
		return that;
	}
function failure ( exception ) { var message ; message = proto . writeFailure ( exception ) ; notify ( message ) ; return that ; }
Sends a failure message to the remote LS proxy.

@param {String} exception the exception message
Sends a failure message to the remote LS proxy .