Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::cache::core::CacheError Class Reference

Errors that can arise during cache operations. More...

#include <core.h>

Public Types

enum  Code { LimitExceeded , InvalidOperation , Unsupported , Unknown }

Public Member Functions

 CacheError (Code code)
Code code () const

Detailed Description

Errors that can arise during cache operations.

Member Enumeration Documentation

◆ Code

Enumerator
LimitExceeded 

Operation failed due to a limit.

InvalidOperation 

Operation was not valid to be performed given the state of the cached item.

Unsupported 

Cache operation is not supported.

Unknown 

An unknown error occurred.

Constructor & Destructor Documentation

◆ CacheError()

fastly::cache::core::CacheError::CacheError ( Code code)
inline

Member Function Documentation

◆ code()

Code fastly::cache::core::CacheError::code ( ) const
inline

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