···1616 InvalidHandleAuthority(reason: handle.ParseError)
1717 /// Authority not a valid DID
1818 InvalidDidAuthority(reason: did.ParseError)
1919- /// Something else went wrong
2020- InvalidFormat(value: String)
1919+ /// Authority is an empty string
2020+ MissingAuthority
2121}
22222323pub type Authority {
···8787 })
88888989 case string.split(value, on: "/") {
9090- // Honestly I dont know how this one could happen.
9191- [] -> Error(InvalidFormat(value:))
9090+ // `rest` is an empty string
9191+ [] -> Error(MissingAuthority)
92929393 // Contains only authority (DID or handle)
9494 // ex: at://kacaii.dev