func github.com/go-faster/errors.As
10 uses
github.com/go-faster/errors (current package)
into.go#L9: ok = As(err, &val)
wrap.go#L134: func As(err error, target interface{}) bool { return errors.As(err, target) }
github.com/gotd/td/internal/exchange
proto.go#L66: errors.As(err, &protocolErr) &&
github.com/gotd/td/internal/mtproto
read.go#L106: if errors.As(err, &syscall) && syscall.Timeout() {
read.go#L181: if errors.As(err, &protoErr) && protoErr.Code == codec.CodeAuthKeyNotFound {
rpc.go#L34: if errors.As(err, &badMsgErr) && badMsgErr.Code == codeIncorrectServerSalt {
github.com/gotd/td/session/tdesktop
file.go#L51: if errors.As(err, &magicErr) {
github.com/gotd/td/telegram/auth
flow.go#L85: if errors.As(signInErr, &signUpRequired) {
github.com/gotd/td/tgerr
error.go#L124: if errors.As(err, &rpcErr) && rpcErr.Type == t {
error.go#L132: if errors.As(err, &rpcErr) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |