Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
_ExceptionFactory | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | /** |
4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
5 | */ |
6 | |
7 | declare(strict_types=1); |
8 | |
9 | namespace pvc\exif\err; |
10 | |
11 | use pvc\err\ExceptionFactoryTrait; |
12 | |
13 | class _ExceptionFactory |
14 | { |
15 | use ExceptionFactoryTrait; |
16 | |
17 | public const LIBRARY_NAME = "pvcExif"; |
18 | |
19 | public const CODES = [ |
20 | InvalidImageIdException::class => 1001, |
21 | InvalidProperNameException::class => 1002, |
22 | ]; |
23 | |
24 | public const MESSAGES = [ |
25 | InvalidImageIdException::class => 'Invalid imageid %s - must be an integer >= 0.', |
26 | InvalidProperNameException::class => 'Invalid proper name %s - must be a string.', |
27 | ]; |
28 | } |