for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FigTree\Exceptions\Concerns;
trait HasSeverity
{
protected int $severity = E_RECOVERABLE_ERROR;
/**
* Get the PHP severity level associated with the Exception.
*
* @return integer
*/
public function getSeverity(): int
return $this->severity;
}