userver: cache::EmptyCacheError Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
cache::EmptyCacheError Class Referencefinal

#include <userver/cache/exceptions.hpp>

+ Inheritance diagram for cache::EmptyCacheError:
+ Collaboration diagram for cache::EmptyCacheError:

Public Member Functions

 EmptyCacheError (std::string_view cache_name)
 

Detailed Description

Thrown by components::CachingComponentBase::Get if the cache is empty and MayReturnNull returns false (as by default).

Definition at line 16 of file exceptions.hpp.


The documentation for this class was generated from the following file: