๐Ÿ€ ATproto XRPC client for gleam possum.hexdocs.pm
gleam atproto xrpc-client library
41

Configure Feed

Select the types of activity you want to include in your feed.

possum/at_uri: rename `InvalidFormat` to `MissingAuthority`

kacaii.dev (Jul 11, 2026, 5:12 PM -0300) e315a30b e718e9af

+4 -4
+4 -4
src/possum/at_uri.gleam
··· 16 16 InvalidHandleAuthority(reason: handle.ParseError) 17 17 /// Authority not a valid DID 18 18 InvalidDidAuthority(reason: did.ParseError) 19 - /// Something else went wrong 20 - InvalidFormat(value: String) 19 + /// Authority is an empty string 20 + MissingAuthority 21 21 } 22 22 23 23 pub type Authority { ··· 87 87 }) 88 88 89 89 case string.split(value, on: "/") { 90 - // Honestly I dont know how this one could happen. 91 - [] -> Error(InvalidFormat(value:)) 90 + // `rest` is an empty string 91 + [] -> Error(MissingAuthority) 92 92 93 93 // Contains only authority (DID or handle) 94 94 // ex: at://kacaii.dev