src/tools/MbException.php
public function getData()
    {
        if ($this->data instanceof Arrayable) {
            $this->data = $this->data->toArray();
        }

        if (!is_array($this->data)) {
            $this->data = null;
        }

        return $this->data;
    }
public function getData()
    {
        if ($this->data instanceof Arrayable) {
            $this->data = $this->data->toArray();
        }

        if (!is_array($this->data)) {
            $this->data = null;
        }

        return $this->data;
    }
public function getData ( ) { if ( $ this -> data instanceof Arrayable ) { $ this -> data = $ this -> data -> toArray ( ) ; } if ( ! is_array ( $ this -> data ) ) { $ this -> data = null ; } return $ this -> data ; }
Get exception data

@return array|string
Get exception data