Completed
Push — master ( 855114...1a26d9 )
by Milan
01:19
created

ConnectionException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A isDown() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace h4kuna\Ares\Exceptions;
4
5
final class ConnectionException extends \RuntimeException
6
{
7
8
	public static function isDown(): void
9
	{
10
		throw new static('The Ares probably is overloaded. Repeat request after few minutes.');
11
	}
12
13
}
14