]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/utilities/redis/redis_list_exception.h
build: use dgit for download target
[ceph.git] / ceph / src / rocksdb / utilities / redis / redis_list_exception.h
1 /**
2 * A simple structure for exceptions in RedisLists.
3 *
4 * @author Deon Nicholas (dnicholas@fb.com)
5 * Copyright 2013 Facebook
6 */
7
8 #pragma once
9 #ifndef ROCKSDB_LITE
10 #include <exception>
11
12 namespace rocksdb {
13
14 class RedisListException: public std::exception {
15 public:
16 const char* what() const throw() override {
17 return "Invalid operation or corrupt data in Redis List.";
18 }
19 };
20
21 } // namespace rocksdb
22 #endif