xref: /plugin/struct/meta/ValidationException.php (revision 8a68af5ad36c4285cf2928aa21be93b85b2d1894)
117560ecbSAndreas Gohr<?php
217560ecbSAndreas Gohr
3ba766201SAndreas Gohrnamespace dokuwiki\plugin\struct\meta;
417560ecbSAndreas Gohr
517560ecbSAndreas Gohr/**
617560ecbSAndreas Gohr * Class ValidationException
717560ecbSAndreas Gohr *
817560ecbSAndreas Gohr * Used to signal validation exceptions
917560ecbSAndreas Gohr *
10ba766201SAndreas Gohr * @package dokuwiki\plugin\struct\meta
1117560ecbSAndreas Gohr */
12d6d97f60SAnna Dabrowskaclass ValidationException extends StructException
13d6d97f60SAnna Dabrowska{
1417560ecbSAndreas Gohr    protected $trans_prefix = 'Validation Exception ';
15*2d502a6aSAndreas Gohr
16*2d502a6aSAndreas Gohr    /**
17*2d502a6aSAndreas Gohr     * No version postfix on validation errors
18*2d502a6aSAndreas Gohr     */
19*2d502a6aSAndreas Gohr    protected function getVersionPostfix()
20*2d502a6aSAndreas Gohr    {
21*2d502a6aSAndreas Gohr        return '';
22*2d502a6aSAndreas Gohr    }
2317560ecbSAndreas Gohr}
24