# Network Module
Module mainly provides transitive dependencies we usually use. On top of that it provides few
utilities to correctly handle exceptions and errors while performing API calls.
## Extensions
### Example
```kotlin
fun fooBar() {
val response: retrofit2.Response> = TODO()
response
.toResult() // replaces Response with kotlin.Result, error is marked as NetworkException
.flatMap { it.toOtherList() } // transforms singular item to list and returns flattened list of lists
}
```