soliantconsulting/SimpleFM

View on GitHub
src/Repository/Exception/InvalidResultException.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php
declare(strict_types = 1);

namespace Soliant\SimpleFM\Repository\Exception;

use RuntimeException;

final class InvalidResultException extends RuntimeException implements ExceptionInterface
{
    public static function fromEmptyResultSet() : self
    {
        return new self('Empty result set received');
    }
}