v0.0.565
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m33s

This commit is contained in:
2025-02-28 21:43:36 +01:00
parent 5e6cb63f14
commit 164c462b96
4 changed files with 36 additions and 10 deletions

View File

@@ -107,6 +107,16 @@ func (b *Builder) WithMessage(msg string) *Builder {
return b
}
func (b *Builder) WithSeverity(v ErrorSeverity) *Builder {
b.errorData.Severity = v
return b
}
func (b *Builder) WithCategory(v ErrorCategory) *Builder {
b.errorData.Category = v
return b
}
// ----------------------------------------------------------------------------
// Err changes the Severity to ERROR (default)