Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Flamis <zoltan@hey.com>2021-03-11 11:02:32 +0300
committerGitHub <noreply@github.com>2021-03-11 11:02:32 +0300
commite3e913252329f9e26833c4f68980f288735fc770 (patch)
tree313d1404634c23e536d9ead35004c67bbf86ef4e /core/Exception
parent23566683edea9bd32e1a49ac7f4892919102a87a (diff)
Throw invalid dimension exception during rendering graph with wrong height/width values (#17320)
* wip * invalid dimension exception * re-throw excpetion
Diffstat (limited to 'core/Exception')
-rw-r--r--core/Exception/InvalidDimensionException.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/Exception/InvalidDimensionException.php b/core/Exception/InvalidDimensionException.php
new file mode 100644
index 0000000000..a0ed19fbf6
--- /dev/null
+++ b/core/Exception/InvalidDimensionException.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Matomo - free/libre analytics platform
+ *
+ * @link https://matomo.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ *
+ */
+namespace Piwik\Exception;
+
+class InvalidDimensionException extends Exception
+{
+}