code: public function getStackTrace(){
  
  		$trace = $this->getTrace();
  
  		// Reverse and remove the call to "error_handler" from the stack
  
  		array_reverse($trace);
  		array_shift($trace);
  
  		// If the last call is to "trigger_error", remove it from the stack too
  
  		$entry = reset($trace);
  
  		if(isset($entry['function']) && $entry['function'] == 'trigger_error'){
  
  			array_shift($trace);
  
  			// Try to get rid off the ExceptionHandler::notice() call as well
  
  			$entry = reset($trace);
  			$handler = __NAMESPACE__ . '\ThrowableHandler';
  
  			if(isset($entry['function']) && $entry['function'] == 'notice' &&
  				isset($entry['class']) && $entry['class'] == $handler){
  
  				array_shift($trace);
  
  				// Update the Exception itself to point to the true origin
  
  				if(isset($entry['file']) && isset($entry['line'])){
  
  					$this->file = $entry['file'];
  					$this->line = $entry['line'];
  				}
  			}
  		}
  
  		return $trace;
  	}
docs: Get a proper stack trace for the {@link ErrorException}.
  
  @return array
  @see BaseException::getStackTrace()