PhpTek\Sentry\Adaptor\SentrySeverity
SentrySeverity provides static methods that process or refine incoming severities as integers (from PHP's severity constants, or as strings from userland config).
Synopsis
class SentrySeverity
{
- // methods
- public static string process_severity()
- public static string from_error()
Methods
public
- from_error() — Almost an exact replica of {@link Severity::fromError()}, except we're dealing with string values passed to us from upstream processes.
- process_severity() — Maps PHP's internal error-types into those suited to {@link Severity}.