You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					20 lines
				
				827 B
			
		
		
			
		
	
	
					20 lines
				
				827 B
			| 
											13 years ago
										 | <div class="previous">
 | ||
|  | 	<h1><span class="arrow">↵</span><span>Caused by: </span><?php
 | ||
|  | 		/**
 | ||
|  | 		 * @var \yii\base\View $this
 | ||
|  | 		 * @var \yii\base\Exception $exception
 | ||
|  | 		 * @var string $previousHtml
 | ||
|  | 		 * @var \yii\base\ErrorHandler $context
 | ||
|  | 		 */
 | ||
|  | 		$context = $this->context;
 | ||
|  | 		if ($exception instanceof \yii\base\Exception) {
 | ||
|  | 			echo '<span>' . $context->htmlEncode($exception->getName()) . '</span>';
 | ||
|  | 			echo ' – ' . $context->addTypeLinks(get_class($exception));
 | ||
|  | 		} else {
 | ||
|  | 			echo '<span>' . $context->htmlEncode(get_class($exception)) . '</span>';
 | ||
|  | 		}
 | ||
|  | 	?></h1>
 | ||
|  | 	<h2><?php echo $context->htmlEncode($exception->getMessage()); ?></h2>
 | ||
|  | 	<p>In <span class="file"><?php echo $exception->getFile(); ?></span> at line <span class="line"><?php echo $exception->getLine(); ?></span></p>
 | ||
|  | 	<?php echo $previousHtml; ?>
 | ||
|  | </div>
 |