For the complete documentation index, see llms.txt. This page is also available as Markdown.

CacheGetOrFail

Get an item from the cache, it will throw an exception if the id is not found in the cache.

By default, the {@code cacheName} is set to {@code default}.

Method Signature

CacheGetOrFail(id=[string], cacheName=[string])

Arguments

Argument
Type
Required
Description
Default

id

string

true

The cache id to retrieve

cacheName

string

false

The cache name to retrieve the id from, defaults to {@code default}

default

Examples

Last updated

Was this helpful?