SinchErrorCode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 29
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
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
declare(strict_types=1);
12
13
namespace Fresh\SinchBundle\Helper;
14
15
/**
16
 * SinchErrorCode.
17
 *
18
 * @author Artem Henvald <[email protected]>
19
 */
20
final class SinchErrorCode
21
{
22
    public const PARAMETER_VALIDATION = 40001;
23
24
    public const MISSING_PARAMETER = 40002;
25
26
    public const INVALID_REQUEST = 40003;
27
28
    public const ILLEGAL_AUTHORIZATION_HEADER = 40100;
29
30
    public const THERE_IS_NOT_ENOUGH_FUNDS_TO_SEND_THE_MESSAGE = 40200;
31
32
    public const FORBIDDEN_REQUEST = 40300;
33
34
    public const INVALID_AUTHORIZATION_SCHEME_FOR_CALLING_THE_METHOD = 40301;
35
36
    public const NO_VERIFIED_PHONE_NUMBER_ON_YOUR_SINCH_ACCOUNT = 40303;
37
38
    public const SANDBOX_SMS_ONLY_ALLOWED_TO_BE_SENT_TO_VERIFIED_NUMBERS = 40303;
39
40
    public const INTERNAL_ERROR = 50000;
41
42
    /**
43
     * Constructor.
44
     */
45
    private function __construct()
46
    {
47
    }
48
}
49