Skip to content

Commit e10b8fd

Browse files
authored
Update README.md
1 parent 2e66c7f commit e10b8fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ but try to avoid the more advanced FP features that don't translate well to Kotl
2828
* Use embedded HTTP servers for upstream dependencies.
2929
* Functional error handling
3030
* Don't throw exceptions unless it's truly exceptional. Expected errors, such as invalid json, are not exceptional.
31+
* Use Kotlin's [Result](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-result/) structure to capture errors.
3132
* Avoid interfaces for services and datastores
3233
* You don't need an interface for your database code. You're not going to need to mock them, and the logic is
3334
bespoke.

0 commit comments

Comments
 (0)