mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 09:57:04 +05:30
common: make NetworkState
public
This commit is contained in:
parent
daf66a16bc
commit
5d65d1ea51
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
package dev.msfjarvis.claw.common
|
package dev.msfjarvis.claw.common
|
||||||
|
|
||||||
internal sealed class NetworkState {
|
sealed class NetworkState {
|
||||||
class Success<T>(val data: T) : NetworkState()
|
class Success<T>(val data: T) : NetworkState()
|
||||||
|
|
||||||
class Error(val error: Throwable, val description: String) : NetworkState()
|
class Error(val error: Throwable, val description: String) : NetworkState()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue