package core
- Since
26 Dec 2017
- Alphabetic
- By Inheritance
- core
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Anomalies extends Anomaly with Product with Serializable
- Since
26 Dec 2017
-
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"
- abstract class AnomalousFailures extends AnomalousFailure with Anomalies with Product with Serializable
-
trait
Anomaly extends Product with Serializable
- Since
26 Dec 2017
-
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
-
trait
Catastrophe extends Anomaly with Product with Serializable
- Since
26 Dec 2017
-
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.
-
trait
ConflictAnomaly extends Anomaly with Conflict with Product with Serializable
- Since
26 Dec 2017
- abstract class ConflictFailure extends AnomalousFailure with ConflictAnomaly with Product with Serializable
-
trait
DeniedAnomaly extends Anomaly with Denied with Product with Serializable
- Since
26 Dec 2017
- abstract class DeniedFailure extends AnomalousFailure with DeniedAnomaly with Product with Serializable
-
trait
ForbiddenAnomaly extends Anomaly with Forbidden with Product with Serializable
- Since
26 Dec 2017
- abstract class ForbiddenFailure extends AnomalousFailure with ForbiddenAnomaly with Product with Serializable
- trait InconsistentStateCatastrophe extends Catastrophe
- abstract class InconsistentStateError extends CatastrophicError with InconsistentStateCatastrophe with Product with Serializable
-
trait
InvalidInputAnomaly extends Anomaly with InvalidInput with Product with Serializable
- Since
26 Dec 2017
- abstract class InvalidInputFailure extends AnomalousFailure with InvalidInputAnomaly with Product with Serializable
-
trait
NotFoundAnomaly extends Anomaly with NotFound with Product with Serializable
- Since
26 Dec 2017
- abstract class NotFoundFailure extends AnomalousFailure with NotFoundAnomaly with Product with Serializable
- final case class SeqStringWrapper extends StringOrSeqString with Product with Serializable
-
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
- final case class StringWrapper extends StringOrSeqString with Product with Serializable
-
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
-
trait
UnauthorizedAnomaly extends Anomaly with Unauthorized with Product with Serializable
- Since
26 Dec 2017
- abstract class UnauthorizedFailure extends AnomalousFailure with UnauthorizedAnomaly with Product with Serializable
Value Members
- implicit final def anomalyParamValueSeqOfStringWrapper(ses: Seq[String]): Parameter
- implicit final def anomalyParamValueStringWrapper(s: String): Parameter
- object Anomalies extends Serializable
- object AnomalousFailure extends FailureConstructors[AnomalousFailure] with Serializable
- object AnomalousFailures extends Serializable
- object Anomaly extends AnomalyConstructors[Anomaly] with Serializable
- object AnomalyID extends Serializable
- object CatastrophicError extends CatastrophicErrorConstructors[CatastrophicError] with Serializable
- object ConflictAnomaly extends AnomalyConstructors[ConflictAnomaly] with Serializable
- object ConflictFailure extends ConflictFailure with SingletonAnomalyProduct with FailureConstructors[ConflictFailure]
- object DeniedAnomaly extends AnomalyConstructors[DeniedAnomaly] with Serializable
- object DeniedFailure extends DeniedFailure with SingletonAnomalyProduct with FailureConstructors[DeniedFailure]
- object ForbiddenAnomaly extends AnomalyConstructors[ForbiddenAnomaly] with Serializable
- object ForbiddenFailure extends ForbiddenFailure with SingletonAnomalyProduct with FailureConstructors[ForbiddenFailure]
- object InconsistentStateError extends CatastrophicErrorConstructors[InconsistentStateError] with Serializable
- object InvalidInputAnomaly extends AnomalyConstructors[InvalidInputAnomaly] with Serializable
- object InvalidInputFailure extends InvalidInputFailure with SingletonAnomalyProduct with FailureConstructors[InvalidInputFailure]
-
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
- object NotFoundAnomaly extends AnomalyConstructors[NotFoundAnomaly] with Serializable
- object NotFoundFailure extends NotFoundFailure with SingletonAnomalyProduct with FailureConstructors[NotFoundFailure]
- object UnauthorizedAnomaly extends AnomalyConstructors[UnauthorizedAnomaly] with Serializable
- object UnauthorizedFailure extends UnauthorizedFailure with SingletonAnomalyProduct with FailureConstructors[UnauthorizedFailure]