package core

Since

26 Dec 2017

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. core
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Anomalies extends Anomaly with Product with Serializable

    Since

    26 Dec 2017

  2. abstract class AnomalousFailure extends Exception with Anomaly

    The moment an busymachines.core.Anomaly inherits from the impure works of java.lang.Exception it is referred to as a "Failure"

  3. abstract class AnomalousFailures extends AnomalousFailure with Anomalies with Product with Serializable
  4. trait Anomaly extends Product with Serializable

    Since

    26 Dec 2017

  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.core.MeaningfulAnomalies

    - busymachines.core.MeaningfulAnomalies.NotFound

    • range: 000-099; e.g. pone_001, ptwo_076, pthree_099

    - busymachines.core.MeaningfulAnomalies.UnauthorizedMsg

    • range: 100-199; e.g. pone_100, ptwo_176, pthree_199

    - busymachines.core.MeaningfulAnomalies.ForbiddenMsg

    • range: 200-299; e.g. pone_200, ptwo_276, pthree_299

    - busymachines.core.MeaningfulAnomalies.DeniedMsg

    • range: 300-399; e.g. pone_300, ptwo_376, pthree_399

    - busymachines.core.MeaningfulAnomalies.InvalidInput

    • range: 400-499; e.g. pone_400, ptwo_476, pthree_499
  6. trait Catastrophe extends Anomaly with Product with Serializable

    Since

    26 Dec 2017

  7. abstract class CatastrophicError extends Error with Catastrophe 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 ConflictAnomaly extends Anomaly with Conflict with Product with Serializable

    Since

    26 Dec 2017

  9. abstract class ConflictFailure extends AnomalousFailure with ConflictAnomaly with Product with Serializable
  10. trait DeniedAnomaly extends Anomaly with Denied with Product with Serializable

    Since

    26 Dec 2017

  11. abstract class DeniedFailure extends AnomalousFailure with DeniedAnomaly with Product with Serializable
  12. trait ForbiddenAnomaly extends Anomaly with Forbidden with Product with Serializable

    Since

    26 Dec 2017

  13. abstract class ForbiddenFailure extends AnomalousFailure with ForbiddenAnomaly with Product with Serializable
  14. trait InconsistentStateCatastrophe extends Catastrophe
  15. abstract class InconsistentStateError extends CatastrophicError with InconsistentStateCatastrophe with Product with Serializable
  16. trait InvalidInputAnomaly extends Anomaly with InvalidInput with Product with Serializable

    Since

    26 Dec 2017

  17. abstract class InvalidInputFailure extends AnomalousFailure with InvalidInputAnomaly with Product with Serializable
  18. trait NotFoundAnomaly extends Anomaly with NotFound with Product with Serializable

    Since

    26 Dec 2017

  19. abstract class NotFoundFailure extends AnomalousFailure with NotFoundAnomaly with Product with Serializable
  20. final case class SeqStringWrapper extends StringOrSeqString with Product with Serializable
  21. 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

  22. final case class StringWrapper extends StringOrSeqString with Product with Serializable
  23. final case class SubjectToChange(until: String) extends Annotation with StaticAnnotation with Product with Serializable

    Used to signal that an API is not yet stable, and provides a version until it is expected to be stable.

    Used to signal that an API is not yet stable, and provides a version until it is expected to be stable.

    Since

    07 Sep 2017

  24. trait UnauthorizedAnomaly extends Anomaly with Unauthorized with Product with Serializable

    Since

    26 Dec 2017

  25. abstract class UnauthorizedFailure extends AnomalousFailure with UnauthorizedAnomaly with Product with Serializable

Value Members

  1. implicit final def anomalyParamValueSeqOfStringWrapper(ses: Seq[String]): Parameter
  2. implicit final def anomalyParamValueStringWrapper(s: String): Parameter
  3. object Anomalies extends Serializable
  4. object AnomalousFailure extends FailureConstructors[AnomalousFailure] with Serializable
  5. object AnomalousFailures extends Serializable
  6. object Anomaly extends AnomalyConstructors[Anomaly] with Serializable
  7. object AnomalyID extends Serializable
  8. object CatastrophicError extends CatastrophicErrorConstructors[CatastrophicError] with Serializable
  9. object ConflictAnomaly extends AnomalyConstructors[ConflictAnomaly] with Serializable
  10. object ConflictFailure extends ConflictFailure with SingletonAnomalyProduct with FailureConstructors[ConflictFailure]
  11. object DeniedAnomaly extends AnomalyConstructors[DeniedAnomaly] with Serializable
  12. object DeniedFailure extends DeniedFailure with SingletonAnomalyProduct with FailureConstructors[DeniedFailure]
  13. object ForbiddenAnomaly extends AnomalyConstructors[ForbiddenAnomaly] with Serializable
  14. object ForbiddenFailure extends ForbiddenFailure with SingletonAnomalyProduct with FailureConstructors[ForbiddenFailure]
  15. object InconsistentStateError extends CatastrophicErrorConstructors[InconsistentStateError] with Serializable
  16. object InvalidInputAnomaly extends AnomalyConstructors[InvalidInputAnomaly] with Serializable
  17. object InvalidInputFailure extends InvalidInputFailure with SingletonAnomalyProduct with FailureConstructors[InvalidInputFailure]
  18. 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.core.AnomalyID

    - busymachines.core.MeaningfulAnomalies.NotFound

    • range: 000-099; e.g. pone_001, ptwo_076, pthree_099

    - busymachines.core.MeaningfulAnomalies.UnauthorizedMsg

    • range: 100-199; e.g. pone_100, ptwo_176, pthree_199

    - busymachines.core.MeaningfulAnomalies.ForbiddenMsg

    • range: 200-299; e.g. pone_200, ptwo_276, pthree_299

    - busymachines.core.MeaningfulAnomalies.DeniedMsg

    • range: 300-399; e.g. pone_300, ptwo_376, pthree_399

    - busymachines.core.MeaningfulAnomalies.InvalidInput

    • range: 400-499; e.g. pone_400, ptwo_476, pthree_499
    Since

    26 Dec 2017

  19. object NotFoundAnomaly extends AnomalyConstructors[NotFoundAnomaly] with Serializable
  20. object NotFoundFailure extends NotFoundFailure with SingletonAnomalyProduct with FailureConstructors[NotFoundFailure]
  21. object UnauthorizedAnomaly extends AnomalyConstructors[UnauthorizedAnomaly] with Serializable
  22. object UnauthorizedFailure extends UnauthorizedFailure with SingletonAnomalyProduct with FailureConstructors[UnauthorizedFailure]

Inherited from AnyRef

Inherited from Any

Ungrouped