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.
 
 

16 lines
256 B

package errors
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)
}