1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace Atk4\Data\Util;
6:
7: use Atk4\Data\Exception;
8:
9: class DeepCopyException extends Exception
10: {
11: /**
12: * @return $this
13: */
14: public function addDepth(string $prefix)
15: {
16: $this->addMoreInfo('depth', $prefix . ':' . $this->getParams()['depth']);
17:
18: return $this;
19: }
20: }
21: