diff --git a/src/Common/Exception/NailsException.php b/src/Common/Exception/NailsException.php
index <HASH>..<HASH> 100644
--- a/src/Common/Exception/NailsException.php
+++ b/src/Common/Exception/NailsException.php
@@ -16,6 +16,7 @@ class NailsException extends \Exception
 {
     /**
      * The URL for any relevant documentation
+     *
      * @var string
      */
     const DOCUMENTATION_URL = '';
@@ -23,11 +24,47 @@ class NailsException extends \Exception
     // --------------------------------------------------------------------------
 
     /**
+     * An array of data to pass along with the exception; useful for code which might
+     * need to know more about the exception, or if you wish to bundle multiple errors
+     * into a single exception
+     *
+     * @var array
+     */
+    protected $aData;
+
+    // --------------------------------------------------------------------------
+
+    /**
      * Returns the URL for any relevant documentation
+     *
      * @return string
      */
     public function getDocumentationUrl()
     {
         return static::DOCUMENTATION_URL;
     }
+
+    // --------------------------------------------------------------------------
+
+    /**
+     * Set exception data
+     *
+     * @param array $aData Any data you'd like to pass into the exception
+     */
+    public function setData(array $aData)
+    {
+        $this->aData = $aData;
+    }
+
+    // --------------------------------------------------------------------------
+
+    /**
+     * Get exception data
+     *
+     * @return array
+     */
+    public function getData()
+    {
+        return $this->aData;
+    }
 }
Added support for passing in arbitrary data to NailsException