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

nickdnk / klaviyo-php-sdk / 33886837562

04 Sep 2026 02:58PM UTC coverage: 92.238%. First build
33886837562

push

github

nickdnk
Initial release: Klaviyo PHP SDK
Version: 2026-07-15

2329 of 2525 new or added lines in 274 files covered. (92.24%)

2329 of 2525 relevant lines covered (92.24%)

23.03 hits per line

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

66.67
/src/Exceptions/ServerException.php
1
<?php
2

3

4
namespace nickdnk\Klaviyo\Exceptions;
5

6
use Psr\Http\Message\ResponseInterface;
7

8
class ServerException extends BaseException
9
{
10

11
    public function __construct(private readonly ResponseInterface $response)
5 ✔
12
    {
13

14
        parent::__construct(sprintf('Klaviyo server error (HTTP %d)', $response->getStatusCode()));
5 ✔
15
    }
16

17
    public function getHttpStatus(): int
5 ✔
18
    {
19

20
        return $this->response->getStatusCode();
5 ✔
21
    }
22

NEW
23
    public function getResponse(): ResponseInterface
×
24
    {
25

NEW
26
        return $this->response;
×
27
    }
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc