func github.com/gotd/td/tgerr.AsType

2 uses

	github.com/gotd/td/tgerr (current package)
		error.go#L123: func AsType(err error, t string) (rpcErr *Error, ok bool) {
		flood_wait.go#L19: 	if rpcErr, ok := AsType(err, ErrFloodWait); ok {