keboola/php-utils

View on GitHub
src/Keboola/Utils/Exception.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Keboola\Utils;

class Exception extends \Exception
{

    protected $data = array();

    /**
     * @return array
     */
    public function getData()
    {
        return $this->data;
    }

    /**
     * @param array $data
     * @return $this
     */
    public function setData(array $data)
    {
        $this->data = $data;

        return $this;
    }
}