• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

prooph / event-store-client / 9555551525

17 Jun 2024 10:16PM UTC coverage: 70.262% (-1.1%) from 71.395%
9555551525

push

github

prolic
update coveralls repo token

3466 of 4933 relevant lines covered (70.26%)

67.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Internal/Message/TcpConnectionErrorMessage.php
1
<?php
2

3
/**
4
 * This file is part of `prooph/event-store-client`.
5
 * (c) 2018-2024 Alexander Miertsch <kontakt@codeliner.ws>
6
 * (c) 2018-2024 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types=1);
13

14
namespace Prooph\EventStoreClient\Internal\Message;
15

16
use Prooph\EventStoreClient\Transport\Tcp\TcpPackageConnection;
17
use Throwable;
18

19
/**
20
 * @internal
21
 *
22
 * @psalm-immutable
23
 */
24
class TcpConnectionErrorMessage implements Message
25
{
26
    public function __construct(
27
        private readonly TcpPackageConnection $tcpPackageConnection,
28
        private readonly Throwable $exception
29
    ) {
30
    }
×
31

32
    public function tcpPackageConnection(): TcpPackageConnection
33
    {
34
        return $this->tcpPackageConnection;
×
35
    }
36

37
    public function exception(): Throwable
38
    {
39
        return $this->exception;
×
40
    }
41

42
    public function __toString(): string
43
    {
44
        return 'TcpConnectionErrorMessage';
×
45
    }
46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc