Skip to content

Commit

Permalink
Update docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
laserpants committed Sep 23, 2023
1 parent acb63c3 commit d1d9a72
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/sqids/sqids.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,12 @@ inline bool Sqids<T>::containsMultibyteCharacters(const std::string& input) cons
///
/// Encode a sequence of integers into an ID.
///
/// TODO
/// These are the cases where encoding might fail:
/// - One of the numbers passed is smaller than 0 or greater than `maxValue`
/// - An /n/ number of attempts has been made to re-generated the ID, where
/// /n/ is the length of the alphabet + 1
///
/// @throws std::runtime_error TODO
/// @throws std::runtime_error When encoding fails
///
/// @param numbers The integers to encode into an ID
/// @return The generated ID
Expand Down

0 comments on commit d1d9a72

Please sign in to comment.