Fix compilation issue
This commit is contained in:
parent
822e329405
commit
44f397687e
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue