package anomaly

Since

11 Jun 2019

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. anomaly
  2. AnomalyParamtersImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class Anomalies extends Exception with AnomaliesBase with Product with Serializable
  2. trait AnomaliesBase extends AnomalyBase with Product with Serializable

    Since

    11 Jun 2019

  3. abstract class Anomaly extends Exception with AnomalyBase

    You should express your business logic expected ways of failure using this trait.

  4. trait AnomalyBase extends Product with Serializable
  5. trait AnomalyID extends Product with Serializable with Equals

    Some suggested naming conventions are put here so that they're easily accessible.

    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
  6. trait AnomalyParamtersImplicits extends AnyRef

    Since

    10 Jun 2019

  7. abstract class Catastrophe extends Error with CatastropheBase with Product with Serializable

    java.lang.Error is a reasonable choice for a super-class.

    java.lang.Error is a reasonable choice for a super-class. It's not caught by NonFatal(_)pattern matches. Which means that we can properly propagate "irrecoverable errors" one a per "request" basis and at the same time not crash our application into oblivion.

  8. trait CatastropheBase extends AnomalyBase with Product with Serializable
  9. abstract class ConflictAnomaly extends Anomaly with Conflict with Product with Serializable

    Since

    11 Jun 2019

  10. abstract class DeniedAnomaly extends Anomaly with Denied with Product with Serializable

    Since

    11 Jun 2019

  11. abstract class ForbiddenAnomaly extends Anomaly with Forbidden with Product with Serializable

    Since

    11 Jun 2019

  12. abstract class InconsistentStateCatastrophe extends Catastrophe with Product with Serializable

    Since

    10 Jun 2019

  13. abstract class InvalidInputAnomaly extends Anomaly with InvalidInput with Product with Serializable

    Since

    11 Jun 2019

  14. abstract class NotFoundAnomaly extends Anomaly with NotFound with Product with Serializable

    Since

    11 Jun 2019

  15. abstract class NotImplementedCatastrophe extends Catastrophe with Product with Serializable

    Since

    10 Jun 2019

  16. trait PureharmAnomalyTypeDefinitions extends AnyRef

    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.

    Since

    10 Jun 2019

  17. final case class SeqStringWrapper extends StringOrSeqString with Product with Serializable
  18. sealed trait StringOrSeqString extends Product with Serializable

    This is a hack until dotty (scala 3.0) comes along with union types.

    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

  19. final case class StringWrapper extends StringOrSeqString with Product with Serializable
  20. abstract class UnauthorizedAnomaly extends Anomaly with Unauthorized with Product with Serializable

    Since

    11 Jun 2019

  21. abstract class UnhandledCatastrophe extends Catastrophe with Product with Serializable

    Since

    14 Jul 2020

Value Members

  1. implicit final def anomalyParamValueSeqOfStringWrapper(ses: Seq[String]): Parameter
    Definition Classes
    AnomalyParamtersImplicits
  2. implicit final def anomalyParamValueStringWrapper(s: String): Parameter
    Definition Classes
    AnomalyParamtersImplicits
  3. object Anomalies extends Serializable
  4. object Anomaly extends AnomalyConstructors[Anomaly] with Serializable
  5. object AnomalyID extends Serializable
  6. object Catastrophe extends CatastropheConstructors[Catastrophe] with Serializable
  7. object ConflictAnomaly extends ConflictAnomaly with SingletonAnomalyProduct with AnomalyConstructors[ConflictAnomaly]
  8. object DeniedAnomaly extends DeniedAnomaly with SingletonAnomalyProduct with AnomalyConstructors[DeniedAnomaly]
  9. object ForbiddenAnomaly extends ForbiddenAnomaly with SingletonAnomalyProduct with AnomalyConstructors[ForbiddenAnomaly]
  10. object InconsistentStateCatastrophe extends CatastropheConstructors[InconsistentStateCatastrophe] with Serializable
  11. object InvalidInputAnomaly extends InvalidInputAnomaly with SingletonAnomalyProduct with AnomalyConstructors[InvalidInputAnomaly]
  12. object MeaningfulAnomalies

    Some suggested naming conventions are put here so that they're easily accessible.

    Some suggested naming conventions are put here so that they're easily accessible. These can also be found in the scaladoc of busymachines.pureharm.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
    Since

    11 Jun 2019

  13. object NotFoundAnomaly extends NotFoundAnomaly with SingletonAnomalyProduct with AnomalyConstructors[NotFoundAnomaly]
  14. object NotImplementedCatastrophe extends CatastropheConstructors[NotImplementedCatastrophe] with Serializable
  15. object UnauthorizedAnomaly extends UnauthorizedAnomaly with SingletonAnomalyProduct with AnomalyConstructors[UnauthorizedAnomaly]
  16. object UnhandledCatastrophe extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped