soliantconsulting/SimpleFM

View on GitHub
src/Repository/Builder/Type/Exception/DomainException.php

Summary

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

namespace Soliant\SimpleFM\Repository\Builder\Type\Exception;

use DomainException as PhpDomainException;

final class DomainException extends PhpDomainException implements ExceptionInterface
{
    public static function fromAttemptedStreamConversionToFileMakerValue() : self
    {
        return new self('Attempted conversion to FileMaker value was discovered, but is disallowed');
    }
}