@@ -10567,6 +10567,8 @@ sealed class DehydrationException(message: String): kotlin.Exception(message) {
10567
10567
10568
10568
class Pickle (message : String ) : DehydrationException(message)
10569
10569
10570
+ class LegacyPickle (message : String ) : DehydrationException(message)
10571
+
10570
10572
class MissingSigningKey (message : String ) : DehydrationException(message)
10571
10573
10572
10574
class Json (message : String ) : DehydrationException(message)
@@ -10588,11 +10590,12 @@ public object FfiConverterTypeDehydrationError : FfiConverterRustBuffer<Dehydrat
10588
10590
10589
10591
return when (buf.getInt()) {
10590
10592
1 -> DehydrationException .Pickle (FfiConverterString .read(buf))
10591
- 2 -> DehydrationException .MissingSigningKey (FfiConverterString .read(buf))
10592
- 3 -> DehydrationException .Json (FfiConverterString .read(buf))
10593
- 4 -> DehydrationException .Store (FfiConverterString .read(buf))
10594
- 5 -> DehydrationException .PickleKeyLength (FfiConverterString .read(buf))
10595
- 6 -> DehydrationException .Rand (FfiConverterString .read(buf))
10593
+ 2 -> DehydrationException .LegacyPickle (FfiConverterString .read(buf))
10594
+ 3 -> DehydrationException .MissingSigningKey (FfiConverterString .read(buf))
10595
+ 4 -> DehydrationException .Json (FfiConverterString .read(buf))
10596
+ 5 -> DehydrationException .Store (FfiConverterString .read(buf))
10597
+ 6 -> DehydrationException .PickleKeyLength (FfiConverterString .read(buf))
10598
+ 7 -> DehydrationException .Rand (FfiConverterString .read(buf))
10596
10599
else -> throw RuntimeException (" invalid error enum value, something is very wrong!!" )
10597
10600
}
10598
10601
@@ -10608,26 +10611,30 @@ public object FfiConverterTypeDehydrationError : FfiConverterRustBuffer<Dehydrat
10608
10611
buf.putInt(1 )
10609
10612
Unit
10610
10613
}
10611
- is DehydrationException .MissingSigningKey -> {
10614
+ is DehydrationException .LegacyPickle -> {
10612
10615
buf.putInt(2 )
10613
10616
Unit
10614
10617
}
10615
- is DehydrationException .Json -> {
10618
+ is DehydrationException .MissingSigningKey -> {
10616
10619
buf.putInt(3 )
10617
10620
Unit
10618
10621
}
10619
- is DehydrationException .Store -> {
10622
+ is DehydrationException .Json -> {
10620
10623
buf.putInt(4 )
10621
10624
Unit
10622
10625
}
10623
- is DehydrationException .PickleKeyLength -> {
10626
+ is DehydrationException .Store -> {
10624
10627
buf.putInt(5 )
10625
10628
Unit
10626
10629
}
10627
- is DehydrationException .Rand -> {
10630
+ is DehydrationException .PickleKeyLength -> {
10628
10631
buf.putInt(6 )
10629
10632
Unit
10630
10633
}
10634
+ is DehydrationException .Rand -> {
10635
+ buf.putInt(7 )
10636
+ Unit
10637
+ }
10631
10638
}.let { /* this makes the `when` an expression, which ensures it is exhaustive */ }
10632
10639
}
10633
10640
0 commit comments