MitocGroup/deep-framework

View on GitHub
src/deep-cache/lib/Driver/Exception/MissingCacheException.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Created by AlexanderC on 6/16/15.
 */

'use strict';

import {Exception} from './Exception';

/**
 * Thrown when missing an item from cache
 */
export class MissingCacheException extends Exception {
  /**
   * @param {String} cacheKey
   */
  constructor(cacheKey) {
    super(`Missing key ${cacheKey} from cache`);
  }
}