12 #include "badgerdb_exception.h"
virtual PageId page_number() const
InvalidSlotException(const PageId page_num, const SlotId slot_num)
Base class for all BadgerDB-specific exceptions.
virtual SlotId slot_number() const
std::uint32_t PageId
Identifier for a page in a file.
const SlotId slot_number_
An exception that is thrown when a slot that doesn't have data is requested from a page...
const PageId page_number_
std::uint16_t SlotId
Identifier for a slot in a page.