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

3 uses

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

	github.com/gotd/td/telegram
		file_dc.go#L72: 		rpcErr, ok := tgerr.AsType(err, "FILE_MIGRATE")