harness.core.HError$
See theHError companion class
object HError
Attributes
Members list
Type members
Classlikes
Analogous to the scala predef '???', except instead of throwing, it gives you a concrete error type.
object ???
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
abstract class ErrorBuilder3[+E](build: (String, String, List[Throwable]) => E) extends ErrorBuilder2[E]
Attributes
- Supertypes
- Known subtypes
-
object UserError.type
final class InternalDefect extends Single
Used when you want to start the error message with "WTF, why is this happening"
Used when you want to start the error message with "WTF, why is this happening"
- Map#get(_).thisShouldAlwaysBeThere
- List#toNel.thisShouldAlwaysBeNonEmpty
Attributes
- Companion
- object
- Supertypes
object InternalDefect extends ErrorBuilder2[InternalDefect]
Attributes
- Companion
- class
- Supertypes
- Self type
-
InternalDefect.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass HErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
abstract class Single(userMessage: UserMessage, internalMessage: String, causes: List[Throwable]) extends HError
Attributes
- Supertypes
- Known subtypes
final class SystemFailure extends Single
object SystemFailure extends ErrorBuilder2[SystemFailure]
Attributes
- Companion
- class
- Supertypes
- Self type
-
SystemFailure.type
object UserError extends ErrorBuilder3[UserError]
Attributes
- Companion
- class
- Supertypes
-
class ErrorBuilder3[UserError]class ErrorBuilder2[UserError]class Objecttrait Matchableclass Any
- Self type
-
UserError.type
object UserMessage
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
UserMessage.type
trait UserMessage
Only purpose is to lift a non-HError Throwable into an HError. If another HError uses this as a cause, the wrapping will be removed.
In this article