oriana.NoRetry.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oriana_2.12 Show documentation
Show all versions of oriana_2.12 Show documentation
Oriana is a small layer on top of slick that allows easier access to the database. It allows peudo-syntactic methods to inject a database context into arbitrary code, and simplifies deployment, updates and initialization.
The newest version!
package oriana
/**
* Mix in this trait to an exception to make the exception "fatal", and prevent the normal transaction handling
* from retrying on this failure. This feature is useful to distinguish "business domain" errors which
* will never go away from technical glitches and transient conditions (such as a lost DB connection), which a
* wait-and-retry can eventually defeat.
*/
trait NoRetry