protected function collectVars(Throwable $exception, int $statusCode): array
	{
		return [
			'title'   => get_class($exception),
			'type'    => get_class($exception),
			'code'    => $statusCode,
			'message' => $exception->getMessage() ?? '(null)',
			'file'    => $exception->getFile(),
			'line'    => $exception->getLine(),
			'trace'   => $exception->getTrace(),
		];
	}
protected function collectVars(Throwable $exception, int $statusCode): array
	{
		return [
			'title'   => get_class($exception),
			'type'    => get_class($exception),
			'code'    => $statusCode,
			'message' => $exception->getMessage() ?? '(null)',
			'file'    => $exception->getFile(),
			'line'    => $exception->getLine(),
			'trace'   => $exception->getTrace(),
		];
	}
protected function collectVars ( Throwable $ exception , int $ statusCode ) : array { return [ 'title' => get_class ( $ exception ) , 'type' => get_class ( $ exception ) , 'code' => $ statusCode , 'message' => $ exception -> getMessage ( ) ?? '(null)' , 'file' => $ exception -> getFile ( ) , 'line' => $ exception -> getLine ( ) , 'trace' => $ exception -> getTrace ( ) , ] ; }
Gathers the variables that will be made available to the view.

@param \Throwable $exception
@param integer    $statusCode

@return array
Gathers the variables that will be made available to the view .