---
title: RELKIT_CACHE_DEPENDENCY_UNDECLARED
description: "Cache is not declared on this function."
pagination: false
search:
  keywords: [RELKIT_CACHE_DEPENDENCY_UNDECLARED]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Cache is not declared on this function.**

## What happened

A function used a cache that is not listed in its dependencies.

## What to do

Add the cache to the function's `dependencies`, for example `dependencies: { cache: { prices } }`.

Reported by `relkit/cache`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
