io.scalaland.chimney.partial.ErrorMessage
See theErrorMessage companion trait
object ErrorMessage
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ErrorMessage.type
Members list
Type members
Classlikes
case object EmptyValue extends ErrorMessage
Represents empty value error
Represents empty value error
Attributes
- Since
-
0.7.0
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ErrorMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
EmptyValue.type
final case class NotDefinedAt(arg: Any) extends ErrorMessage
Represents partial function is not defined for specific argument error
Represents partial function is not defined for specific argument error
Value parameters
- arg
-
argument where partial function is not defined for
Attributes
- Since
-
0.7.0
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ErrorMessageclass Objecttrait Matchableclass AnyShow all
final case class StringMessage(message: String) extends ErrorMessage
Represents custom string error
Represents custom string error
Value parameters
- message
-
custom string error message
Attributes
- Since
-
0.7.0
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ErrorMessageclass Objecttrait Matchableclass AnyShow all
final case class ThrowableMessage(throwable: Throwable) extends ErrorMessage
Represents throwable error
Represents throwable error
Value parameters
- throwable
-
custom throwable object
Attributes
- Since
-
0.7.0
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ErrorMessageclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
In this article