12 #include "badgerdb_exception.h"
32 const std::size_t requested,
33 const std::size_t available);
Base class for all BadgerDB-specific exceptions.
PageId page_number() const
const std::size_t space_available_
InsufficientSpaceException(const PageId page_num, const std::size_t requested, const std::size_t available)
const PageId page_number_
std::size_t space_requested() const
const std::size_t space_requested_
std::uint32_t PageId
Identifier for a page in a file.
std::size_t space_available() const
An exception that is thrown when a record is attempted to be inserted into a page that doesn't have s...