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

webboy / measurement-units / 12737284671

12 Jan 2025 09:34PM UTC coverage: 99.227% (-0.8%) from 100.0%
12737284671

push

github

webboy
Preparing v1.2.0

235 of 236 new or added lines in 22 files covered. (99.58%)

6 existing lines in 3 files now uncovered.

899 of 906 relevant lines covered (99.23%)

8.84 hits per line

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

0.0
/src/Exceptions/UnitExceptions/InvalidUnitIdUnitException.php
1
<?php
2

3
namespace Webboy\MeasurementUnits\Exceptions\UnitExceptions;
4

5
use Throwable;
6
use Webboy\MeasurementUnits\Exceptions\UnitException;
7

8
class InvalidUnitIdUnitException extends UnitException
9
{
UNCOV
10
    public function __construct(mixed $id, $message = null)
×
11
    {
UNCOV
12
        $message = $message ?? "The unit ID '{$id}' is invalid.";
×
UNCOV
13
        parent::__construct($message);
×
14
    }
15
}
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