mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-18 23:33:51 +01:00
v0.5-rc3: update docker port detect mechanism, docker compose file and doc update
This commit is contained in:
@@ -16,6 +16,10 @@ func Failure(what string) NestedError {
|
||||
return errorf("%s %w", what, ErrFailure)
|
||||
}
|
||||
|
||||
func FailureWhy(what string, why string) NestedError {
|
||||
return errorf("%s %w because %s", what, ErrFailure, why)
|
||||
}
|
||||
|
||||
func Invalid(subject, what any) NestedError {
|
||||
return errorf("%w %v - %v", ErrInvalid, subject, what)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user