mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-02 01:16:16 +00:00
4463b11cad
Summary: Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. Test Plan: make check Reviewers: emayanke, haobo Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D13311
21 lines
381 B
C++
21 lines
381 B
C++
/**
|
|
* A simple structure for exceptions in RedisLists.
|
|
*
|
|
* @author Deon Nicholas (dnicholas@fb.com)
|
|
* Copyright 2013 Facebook
|
|
*/
|
|
|
|
#pragma once
|
|
#include <exception>
|
|
|
|
namespace rocksdb {
|
|
|
|
class RedisListException: public std::exception {
|
|
public:
|
|
const char* what() const throw() {
|
|
return "Invalid operation or corrupt data in Redis List.";
|
|
}
|
|
};
|
|
|
|
} // namespace rocksdb
|