busymachines.pureharm.anomaly
Type members
Classlikes
- Companion
- object
You should express your business logic expected ways of failure using this trait.
You should express your business logic expected ways of failure using this trait.
- Companion
- object
Some suggested naming conventions are put here so that they're easily accessible. These can also be found in the scaladoc of busymachines.pureharm.anomaly.MeaningfulAnomalies
Some suggested naming conventions are put here so that they're easily accessible. These can also be found in the scaladoc of busymachines.pureharm.anomaly.MeaningfulAnomalies
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.NotFound
- range: 000-099; e.g. pone_001, ptwo_076, pthree_099
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.Unauthorized
- range: 100-199; e.g. pone_100, ptwo_176, pthree_199
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.Forbidden
- range: 200-299; e.g. pone_200, ptwo_276, pthree_299
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.Denied
- range: 300-399; e.g. pone_300, ptwo_376, pthree_399
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.InvalidInput
- range: 400-499; e.g. pone_400, ptwo_476, pthree_499
- Companion
- object
- Since
11 Jun 2019
Use as base class to signal irrecoverable domain specific errors.
Use as base class to signal irrecoverable domain specific errors.
- Companion
- object
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- object
- Companion
- class
Some suggested naming conventions are put here so that they're easily accessible. These can also be found in the scaladoc of busymachines.pureharm.anomaly.AnomalyID
Some suggested naming conventions are put here so that they're easily accessible. These can also be found in the scaladoc of busymachines.pureharm.anomaly.AnomalyID
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.NotFound
- range: 000-099; e.g. pone_001, ptwo_076, pthree_099
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.UnauthorizedMsg
- range: 100-199; e.g. pone_100, ptwo_176, pthree_199
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.ForbiddenMsg
- range: 200-299; e.g. pone_200, ptwo_276, pthree_299
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.DeniedMsg
- range: 300-399; e.g. pone_300, ptwo_376, pthree_399
-
busymachines.pureharm.anomaly.MeaningfulAnomalies.InvalidInput
- range: 400-499; e.g. pone_400, ptwo_476, pthree_499
- Companion
- object
- Companion
- class
- Companion
- object
Mix this into your app's "core" package to get all these nice little anomalies.
Mix this into your app's "core" package to get all these nice little anomalies.
This is a hack until dotty (scala 3.0) comes along with union types. Until then, boiler plate freedom is given by the implicit conversions found in the package object
This is a hack until dotty (scala 3.0) comes along with union types. Until then, boiler plate freedom is given by the implicit conversions found in the package object
- Companion
- object
- Companion
- class
- Companion
- object