Open leszekgruchala opened 5 years ago
Please see https://github.com/ScalaConsultants/rapid-development/blob/master/modules/core/src/main/scala/io/scalac/common/services/services.scala#L15-L31
There is ServiceError and DatabaseError. From current experience I can say it doesn't make sense. Let's use single Error based ADT and make life easier.
ServiceError
DatabaseError
Error
Please see https://github.com/ScalaConsultants/rapid-development/blob/master/modules/core/src/main/scala/io/scalac/common/services/services.scala#L15-L31
There is
ServiceError
andDatabaseError
. From current experience I can say it doesn't make sense. Let's use singleError
based ADT and make life easier.