Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 3
CRAP
0.00% covered (danger)
0.00%
0 / 1
InvalidTopicUuidException
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 3
12
0.00% covered (danger)
0.00%
0 / 1
 getErrorCodeList
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getHTML
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getPageTitle
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace Flow\Exception;
4
5/**
6 * Specific exception thrown when a page within NS_TOPIC is requested
7 * through WorkflowLoaderFactory and it is an invalid uuid
8 */
9class InvalidTopicUuidException extends InvalidInputException {
10    protected function getErrorCodeList() {
11        // flow-error-invalid-input
12        return [ 'invalid-input' ];
13    }
14
15    public function getHTML() {
16        return wfMessage( 'flow-error-invalid-topic-uuid' )->escaped();
17    }
18
19    public function getPageTitle() {
20        return wfMessage( 'flow-error-invalid-topic-uuid-title' )->text();
21    }
22}