Exception: Cloudflare::CacheError
- Inherits:
-
StandardError
- Object
- StandardError
- Cloudflare::CacheError
- Defined in:
- lib/cloudflare_workers/cache.rb
Instance Attribute Summary collapse
-
#operation ⇒ Object
readonly
Returns the value of attribute operation.
Instance Method Summary collapse
-
#initialize(message, operation: nil) ⇒ CacheError
constructor
A new instance of CacheError.
Constructor Details
#initialize(message, operation: nil) ⇒ CacheError
Returns a new instance of CacheError.
51 52 53 54 |
# File 'lib/cloudflare_workers/cache.rb', line 51 def initialize(, operation: nil) @operation = operation super("[Cloudflare::Cache] op=#{operation || 'match'}: #{}") end |
Instance Attribute Details
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
50 51 52 |
# File 'lib/cloudflare_workers/cache.rb', line 50 def operation @operation end |