PhpTek\Sentry\Adaptor\SentrySeverity::from_error
Almost an exact replica of {@link Severity::fromError()}, except we're dealing with string values passed to us from upstream processes.
Signature
public function from_error(string
$severity )
Parameters
$severity
— string- An incoming severity.
Returns
- string