Completed
Pull Request — master (#1)
by Artem
01:37
created

SinchErrorCode::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the FreshSinchBundle
4
 *
5
 * (c) Artem Henvald <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Fresh\SinchBundle\Helper;
12
13
/**
14
 * SinchErrorCode.
15
 *
16
 * @author Artem Henvald <[email protected]>
17
 */
18
final class SinchErrorCode
19
{
20
    const PARAMETER_VALIDATION = 40001;
21
    const MISSING_PARAMETER = 40002;
22
    const INVALID_REQUEST = 40003;
23
24
    const ILLEGAL_AUTHORIZATION_HEADER = 40100;
25
26
    const THERE_IS_NOT_ENOUGH_FUNDS_TO_SEND_THE_MESSAGE = 40200;
27
28
    const FORBIDDEN_REQUEST = 40300;
29
    const INVALID_AUTHORIZATION_SCHEME_FOR_CALLING_THE_METHOD = 40301;
30
    const NO_VERIFIED_PHONE_NUMBER_ON_YOUR_SINCH_ACCOUNT = 40303;
31
    const SANDBOX_SMS_ONLY_ALLOWED_TO_BE_SENT_TO_VERIFIED_NUMBERS = 40303;
32
33
    const INTERNAL_ERROR = 50000;
34
35
    /**
36
     * Constructor.
37
     */
38
    private function __construct()
39
    {
40
    }
41
}
42