Skip to content

Commit f394b1e

Browse files
authored
fix: CommandRecord.trim raises OverflowError instead of S2ClientError (#29)
1 parent aaf4bfe commit f394b1e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/s2_sdk/_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ def fence(token: str) -> Record:
272272
return Record(body=encoded_token, headers=[(bytes(), CommandRecord.FENCE)])
273273

274274
@staticmethod
275+
@fallible
275276
def trim(desired_first_seq_num: int) -> Record:
276277
"""Create a trim command record.
277278

0 commit comments

Comments
 (0)