github.com/gotd/td/tgerr.Error.Code (field)

5 uses

	github.com/gotd/td/tgerr (current package)
		error.go#L16: 	Code     int    // 420
		error.go#L26: 		Code:    code,
		error.go#L46: 	return e.Code == code
		error.go#L117: 		return fmt.Sprintf("rpc error code %d: %s (%d)", e.Code, e.Type, e.Argument)
		error.go#L119: 	return fmt.Sprintf("rpc error code %d: %s", e.Code, e.Message)