<?php namespace MightyPork\Exceptions; class ViewException extends RuntimeException { public $captured; public function __construct(\Exception $cause, $captured) { $this->captured = $captured; parent::__construct($cause); } }