ScalaConsultants / rapid-development

0 stars 1 forks source link

Consider removal of DB specific error ADTs #25

Open leszekgruchala opened 5 years ago

leszekgruchala commented 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.