---
title: "Discussion on \"How to return domain errors in Kotlin\" | Hashnode"
description: "Discussion on \"How to return domain errors in Kotlin\". Our domain, business, or core logic should be able to handle multiple cases. For that, I wanted to use some easy, expressive, and consistent approaches for returning values in a domain context. Here are the things that I've found.\ntl;dr\n(1) null as f..."
url: "https://hashnode.com/posts/how-to-return-domain-errors-in-kotlin/65b5f62d0cfdf9de884c5cb7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to return domain errors in Kotlin](https://roeniss.hashnode.dev/how-to-return-domain-errors-in-kotlin?utm_source=hashnode&utm_medium=feed)

Our domain, business, or core logic should be able to handle multiple cases. For that, I wanted to use some easy, expressive, and consistent approaches for returning values in a domain context. Here are the things that I've found. tl;dr (1) null as f...

Jan 28, 2024 · 5 min read · roeniss.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#business-logic](https://hashnode.com/tag/business-logic)

## Written by

[Roeniss](https://hashnode.com/@Roeniss)

@Roeniss · Seoul, South Korea

  
[View profile](https://hashnode.com/@Roeniss)

programming, devops, backend

Yes, we are here. https://youtu.be/5pz4bh3lA\_M

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
