12 #include "badgerdb_exception.h"
virtual PageId page_number() const
virtual const RecordId & record_id() const
Base class for all BadgerDB-specific exceptions.
std::uint32_t PageId
Identifier for a page in a file.
InvalidRecordException(const RecordId &rec_id, const PageId page_num)
const RecordId record_id_
Identifier for a record in a page.
const PageId page_number_
An exception that is thrown when a record is requested from a page that has a bad record ID...