Atproto, add bound string

This commit is contained in:
Julia Lange 2025-07-02 10:48:44 -07:00
parent 5bc903b2fa
commit ee99f119f0
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
4 changed files with 62 additions and 0 deletions

View file

@ -24,6 +24,8 @@ pub enum ParseError {
Serde(#[from] serde_json::error::Error),
#[error("Length of parsed object too long, max: {max:?}, got: {got:?}.")]
Length { max: usize, got: usize },
#[error("Length of parsed object too short, min: {min:?}, got: {got:?}.")]
MinLength { min: usize, got: usize },
#[error("Currently Did is enforced, cannot use handle, {handle:?}")]
ForceDid { handle: String },
#[error("Incorrectly formatted")]