mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-27 11:43:49 +00:00
588bca2020
Summary: Introducing RocksDBLite! Removes all the non-essential features and reduces the binary size. This effort should help our adoption on mobile. Binary size when compiling for IOS (`TARGET_OS=IOS m static_lib`) is down to 9MB from 15MB (without stripping) Test Plan: compiles :) Reviewers: dhruba, haobo, ljin, sdong, yhchiang Reviewed By: yhchiang CC: leveldb Differential Revision: https://reviews.facebook.net/D17835
23 lines
409 B
C++
23 lines
409 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() {
|
|
return "Invalid operation or corrupt data in Redis List.";
|
|
}
|
|
};
|
|
|
|
} // namespace rocksdb
|
|
#endif
|