mirror of https://github.com/facebook/rocksdb.git
23 lines
418 B
C++
23 lines
418 B
C++
/**
|
|
* A simple structure for exceptions in RedisLists.
|
|
*
|
|
* @author Deon Nicholas (dnicholas@fb.com)
|
|
* Copyright 2013 Facebook
|
|
*/
|
|
|
|
#ifndef ROCKSDB_LITE
|
|
#pragma once
|
|
#include <exception>
|
|
|
|
namespace rocksdb {
|
|
|
|
class RedisListException: public std::exception {
|
|
public:
|
|
const char* what() const throw() override {
|
|
return "Invalid operation or corrupt data in Redis List.";
|
|
}
|
|
};
|
|
|
|
} // namespace rocksdb
|
|
#endif
|