1 package expo.modules.updates.statemachine
2 
3 /**
4  * For the state machine, errors are stored as data objects.
5  * For now, we just have the "message" property.
6  */
7 data class UpdatesStateError(
8   val message: String
9 ) {
10   val json: Map<String, String>
11     get() {
12       return mapOf(
13         "message" to message
14       )
15     }
16 }
17