for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AcMailer\Exception;
class InvalidAttachmentException extends \RuntimeException implements ExceptionInterface
{
public static function fromExpectedType(string $type): self
return new self(\sprintf('Provided attachment is not valid. Expected "%s"', $type));
}