CodeException.php 528 Bytes
Newer Older
1
2
3
4
5
6
7
8
<?php
/**
 * Created by PhpStorm.
 * User: crose
 * Date: 1/1/16
 * Time: 12:43 PM
 */

9
namespace qfq;
10

11
require_once(__DIR__ . '/AbstractException.php');
12

13
14
15
16
17
18
19
/**
 * Class UserException
 *
 * Thrown by Form or FormElement on User errors
 *
 * @package qfq\exceptions
 */
20
class CodeException extends AbstractException {
21
22

    /*
23
24
      * @return string HTML formatted error string
      */
25
26
    public function formatMessage() {

27
        $this->messageArray['Type'] = 'Code Exception';
28

29
        return parent::formatException();
30
31
    }
}