code: function seterror(error_name,desc,has_required){
  			err =	{error:error_name,
  				description:desc,
  				method:'GET',
  				action:'rpdquery',
  				notes:'run a SQL statement stored serverside by name and other required parameters'}
  			if (has_required == 1){				
  				err.required = ['csql', 'limit', 'offset'];
  				err.csql   = 'sql statement name';
  				err.limit  = 'number of records to be returned';
  				err.offset = 'start record number from result set'};
  				return err
  			}
docs: console.log(rcfg);