for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace EventSauce\EventSourcing;
use RuntimeException;
use Throwable;
class UnableToRetrieveMessages extends RuntimeException implements EventSauceException
{
public static function dueTo(string $reason, Throwable $previous = null): self
return new self("Unable to retrieve messages. {$reason}", 0, $previous);
}