[net](../../index.md) / [com.drake.net.scope](../index.md) / [StateCoroutineScope](./index.md) # StateCoroutineScope `class StateCoroutineScope : `[`NetCoroutineScope`](../-net-coroutine-scope/index.md) 缺省页作用域 ### Constructors | Name | Summary | |---|---| | [<init>](-init-.md) | 缺省页作用域`StateCoroutineScope(state: StateLayout)` | ### Properties | Name | Summary | |---|---| | [state](state.md) | `val state: StateLayout` | ### Functions | Name | Summary | |---|---| | [catch](catch.md) | `fun catch(e: `[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [finally](finally.md) | `fun finally(e: `[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`?): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [handleError](handle-error.md) | 错误处理`fun handleError(e: `[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [readCache](read-cache.md) | 读取缓存回调`fun readCache(succeed: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [start](start.md) | `fun start(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) |