fromProteusCode

Those error codes are mapped directly from com.wire.crypto.ProteusException:

See the mapping: com.wire.kalium.cryptography.ProteusClientCoreCryptoImpl.Companion.mapProteusExceptionToErrorCode

Mapping sources

Mapping source README