Exception: TypedViewModel::CacheKeyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/typed_view_model/cache_key_error.rb

Overview

Raised by WithCacheKey when a cache key cannot be generated (e.g. all source attributes resolved to nil). Lets consumers ‘rescue` precisely rather than catching every StandardError.