mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 14:43:07 +02:00
fixed loadbalanced routes with same alias cause conflict
This commit is contained in:
@@ -17,7 +17,7 @@ var (
|
||||
ErrOutOfRange = stderrors.New("out of range")
|
||||
ErrTypeError = stderrors.New("type error")
|
||||
ErrTypeMismatch = stderrors.New("type mismatch")
|
||||
ErrPanicRecv = stderrors.New("panic")
|
||||
ErrPanicRecv = stderrors.New("panic recovered from")
|
||||
)
|
||||
|
||||
const fmtSubjectWhat = "%w %v: %q"
|
||||
@@ -79,5 +79,5 @@ func TypeMismatch[Expect any](value any) NestedError {
|
||||
}
|
||||
|
||||
func PanicRecv(format string, args ...any) NestedError {
|
||||
return errorf("%w%s", ErrPanicRecv, fmt.Sprintf(format, args...))
|
||||
return errorf("%w %s", ErrPanicRecv, fmt.Sprintf(format, args...))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user