mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-08 16:13:04 +02:00
In Java these are subclasses of IllegalStateException, a RuntimeException, so that every session operation isn't annotated as throwing InvalidSessionException. Swift and TypeScript don't have typed errors, so they're just additional specific cases that can be caught.