You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
256 B

1 year ago
package errors
2 years ago
import (
stderrors "errors"
)
func Is(err, target error) bool {
return stderrors.Is(err, target)
}
func As(err error, target any) bool {
return stderrors.As(err, target)
}
func Unwarp(err error) error {
return stderrors.Unwrap(err)
}