Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 14 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
26 | public function __construct(Exception $previous, $message = '', $code = 0) |
||
27 | { |
||
28 | if (empty($message)) { |
||
29 | $message = sprintf( |
||
30 | __( |
||
31 | 'The following error occurred during the creation and/or loading of this collection: %1$s %2$s', |
||
32 | 'event_espresso' |
||
33 | ), |
||
34 | '<br />', |
||
35 | $previous->getMessage() |
||
36 | ); |
||
37 | } |
||
38 | parent::__construct($message, $code, $previous); |
||
39 | } |
||
40 | } |
||
41 |