PluginProbe
Metricool – Social media and site statistics / trunk
Metricool – Social media and site statistics vtrunk
2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
metricool / app / Features / UserSettings / Exceptions / StorageSubmitException.php

StorageSubmitException.php in Metricool – Social media and site statistics trunk, at app/Features/UserSettings/Exceptions/StorageSubmitException.php

26 lines 545 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Metricool\Features\UserSettings\Exceptions;
6
7 class StorageSubmitException extends \RuntimeException
8 {
9 /**
10 * key-value pair of errors occurred during the submit process. The key
11 * should reflect the storage name and the value the error message from
12 * the client.
13 */
14 private array $errors = [];
15
16 public function setErrors(array $errors): void
17 {
18 $this->errors = $errors;
19 }
20
21 public function getErrors(): array
22 {
23 return $this->errors;
24 }
25 }
26