for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace WebServCo\Framework\Helpers;
class ErrorMessageHelper
{
public static function format(\Throwable $exception): string
return \sprintf(
'Error: %s in %s:%s.',
$exception->getMessage(),
$exception->getFile(),
$exception->getLine(),
);
}