ensureLibsodiumSuccess

Throws a GeneralLibsodiumException if the return code is not successful.

This will throw an IllegalStateException if the return code is invalid/unknown.