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

NIT-Administrative-Systems / SysDev-laravel-soa / 13508687794

24 Feb 2025 09:59PM UTC coverage: 45.13% (-0.1%) from 45.277%
13508687794

push

github

web-flow
Laravel 12 Support (#184)

0 of 4 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

278 of 616 relevant lines covered (45.13%)

14.48 hits per line

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

0.0
/src/Auth/OAuth2/MicrosoftGraphError.php
1
<?php
2

3
namespace Northwestern\SysDev\SOA\Auth\OAuth2;
4

5
use Exception;
6
use GuzzleHttp\Exception\ClientException;
7

8
/**
9
 * Unpacks the Microsoft Graph API response JSON into the full message.
10
 *
11
 * These errors would typically be truncated in a logger since the response body is
12
 * cut off after X characters. This exception wraps a Guzzle error and exposes the full
13
 * JSON response as the error message instead of truncating it.
14
 */
15
class MicrosoftGraphError extends Exception
16
{
17
    public function __construct(ClientException $previous)
18
    {
19
        parent::__construct($previous->getResponse()->getBody()->getContents(), $previous->getCode(), $previous);
×
20
    }
21
}
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

© 2026 Coveralls, Inc