PluginProbe
The Innovative Form Builder – IvyForms / 0.8
The Innovative Form Builder – IvyForms v0.8
1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 1.2 1.3
ivyforms / backend / src / Common / Exceptions / ValidationException.php

ValidationException.php in The Innovative Form Builder – IvyForms 0.8, at backend/src/Common/Exceptions/ValidationException.php

36 lines 768 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @copyright © Melograno Venture Studio. All rights reserved.
5 * @licence See LICENCE.md for license details.
6 */
7
8 namespace IvyForms\Common\Exceptions;
9
10 // phpcs:disable PSR1.Files.SideEffects
11 if (!defined('ABSPATH')) {
12 exit; // Exit if accessed directly
13 }
14
15 use Exception;
16
17 /**
18 * Class ValidationException
19 *
20 * @package IvyForms\Common\Exceptions
21 */
22 class ValidationException extends Exception
23 {
24 /**
25 * ValidationException constructor.
26 *
27 * @param string $message
28 * @param int $code
29 * @param Exception|null $previous
30 */
31 public function __construct($message = 'validation_failed', $code = 0, Exception $previous = null)
32 {
33 parent::__construct($message, $code, $previous);
34 }
35 }
36