for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Lamoda\Metric\Storage\Exception;
class ReceiverException extends \RuntimeException
{
public static function becauseOfStorageFailure(\Throwable $e): self
return new self(
'Failed to persist metrics into upstream store', $e->getCode(), $e
);
}