Passed
Pull Request — develop (#25)
by Barney
03:18
created

FormatterStopException::msg()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 6
Ratio 100 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
c 0
b 0
f 0
nc 1
nop 1
dl 6
loc 6
rs 9.4285
1
<?php
2
/**
3
 * @codingStandardsIgnoreStart
4
 *
5
 * @author       Barney Hanlon <[email protected]>
6
 * @copyright    Barney Hanlon 2017
7
 * @license      https://opensource.org/licenses/MIT
8
 *
9
 * @codingStandardsIgnoreEnd
10
 */
11
12
namespace Shrikeh\GuzzleMiddleware\TimerLogger\Formatter\Exception;
13
14
use RuntimeException;
15
use Shrikeh\GuzzleMiddleware\TimerLogger\Formatter\Traits\FormatterExceptionTrait;
16
17
/**
18
 * Class FormatterException.
19
 */
20
final class FormatterStopException extends RuntimeException
21
{
22
    use FormatterExceptionTrait;
23
24
    const MSG_MESSAGE = 'Error attempting to parse stop message for log';
25
    const MSG_CODE = 1;
26
27
    const LEVEL_MESSAGE = 'Error determining log level for stop';
28
    const LEVEL_CODE = 2;
29
}
30