1
0
woodpecker-sonatype-nexus/error.go
Konstantin Demin 19d2dcd19b
refactor logging/error reporting
plus some (minor) code improvements
2024-02-26 19:07:23 +03:00

23 lines
274 B
Go

package main
type ErrEmpty struct {
}
func (e *ErrEmpty) Error() string {
return "empty"
}
type ErrMalformed struct {
}
func (e *ErrMalformed) Error() string {
return "malformed"
}
type ErrMissing struct {
}
func (e *ErrMissing) Error() string {
return "missing"
}