12 #include "badgerdb_exception.h"
Base class for all BadgerDB-specific exceptions.
virtual SlotId slot_number() const
virtual PageId page_number() const
std::uint32_t PageId
Identifier for a page in a file.
SlotInUseException(const PageId page_num, const SlotId slot_num)
const SlotId slot_number_
An exception that is thrown when a record is attempted to be inserted into a slot that is already in ...
const PageId page_number_
std::uint16_t SlotId
Identifier for a slot in a page.