-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy motorro/RxLceModel to github.com/motorro/RxLceModel.git:master
- Loading branch information
1 parent
76cf0af
commit 5091108
Showing
5 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
docs/base/base/com.motorro.rxlcemodel.base/catch-to-lce.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//[base](../index.md)/[com.motorro.rxlcemodel.base](index.md)/[catchToLce](catch-to-lce.md) | ||
|
||
|
||
|
||
# catchToLce | ||
[jvm] | ||
Brief description | ||
|
||
|
||
|
||
|
||
Runs transformation block catching any error and wrapping it to [LceState.Error](-lce-state/-error/index.md): | ||
|
||
<ul><li>The output data will be null</li><li>The data will be invalid</li></ul> | ||
|
||
|
||
Content | ||
inline fun <[DATA_1](catch-to-lce.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html), [DATA_2](catch-to-lce.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [LceState](-lce-state/index.md)<[DATA_1](catch-to-lce.md)>.[catchToLce](catch-to-lce.md)(block: [LceState](-lce-state/index.md)<[DATA_1](catch-to-lce.md)>.() -> [LceState](-lce-state/index.md)<[DATA_2](catch-to-lce.md)>): [LceState](-lce-state/index.md)<[DATA_2](catch-to-lce.md)> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters