Completed
Pull Request — newinternal (#285)
by Simon
07:17 queued 04:17
created

ApiException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/******************************************************************************
3
 * Wikipedia Account Creation Assistance tool                                 *
4
 *                                                                            *
5
 * All code in this file is released into the public domain by the ACC        *
6
 * Development Team. Please see team.json for a list of contributors.         *
7
 ******************************************************************************/
8
9
namespace Waca\API;
10
11
use Exception;
12
13
/**
14
 * ApiException
15
 */
16
class ApiException extends Exception
17
{
18
    /**
19
     * @param string $message
20
     */
21
    public function __construct($message)
22
    {
23
        $this->message = $message;
24
    }
25
}
26