Fix compilation issue

This commit is contained in:
Benoit Marty 2023-12-01 15:29:45 +01:00
parent 822e329405
commit 44f397687e

View file

@ -23,13 +23,13 @@ class SteadyStateExceptionMapper {
fun map(data: RustSteadyStateException): SteadyStateException { fun map(data: RustSteadyStateException): SteadyStateException {
return when (data) { return when (data) {
is RustSteadyStateException.BackupDisabled -> SteadyStateException.BackupDisabled( is RustSteadyStateException.BackupDisabled -> SteadyStateException.BackupDisabled(
message = data.message message = data.message.orEmpty()
) )
is RustSteadyStateException.Connection -> SteadyStateException.Connection( is RustSteadyStateException.Connection -> SteadyStateException.Connection(
message = data.message message = data.message.orEmpty()
) )
is RustSteadyStateException.Lagged -> SteadyStateException.Lagged( is RustSteadyStateException.Lagged -> SteadyStateException.Lagged(
message = data.message message = data.message.orEmpty()
) )
} }
} }