How can i refactor `fromError` so that I have only...
# codereview
i
How can i refactor
fromError
so that I have only two return so to be conform to detekt warning?