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
7declare(strict_types=1);
8
9namespace pvc\exif\err;
10
11use pvc\err\ExceptionFactoryTrait;
12
13class _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}