Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
Error defines the attributes of an error
type Severity ¶
type Severity string
Severity describes the severity level of the error
const ( // Emergency level severity Emergency Severity = "emergency" // NoneSeverity level severity NoneSeverity Severity = "none" // Warn level severity Warn Severity = "warn" // Alert level severity Alert Severity = "alert" // Critical level severity Critical Severity = "critical" // Fatal level severity Fatal Severity = "fatal" )
func GetSeverity ¶
GetSeverity returns the severity level of the error
Click to show internal directories.
Click to hide internal directories.