soliantconsulting/SimpleFM

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

Summary

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

namespace Soliant\SimpleFM\Authentication\Exception;

use RuntimeException;

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