org.finos.morphir.runtime.MorphirRuntimeError.TypeError
See theTypeError companion trait
object TypeError
Attributes
Members list
Type members
Classlikes
final case class ApplyToNonFunction(applyNode: TypedValue, nonFunction: TypedValue, arg: TypedValue) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ArgNumberMismatch(first: Int, second: Int, msg: String) extends SizeMismatch
Attributes
- Supertypes
-
trait Producttrait Equalsclass SizeMismatchtrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class CannotDealias(err: LookupError, xplanation: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ImproperType(tpe: UType, explanation: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ImproperTypeSpec(fqn: FQName, spec: USpecification, explanation: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class InferenceConflict(older: UType, newer: UType, name: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class LiteralTypeMismatch(lit: Lit, tpe: UType) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ManyTypeErrors(errors: List[TypeError]) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class OtherTypeError(message: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
class SizeMismatch(first: Int, second: Int, msg: String) extends TypeError
Attributes
- Supertypes
-
trait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ArgNumberMismatch
final case class TypeHasExtraField(tpe: UType, contract: UType, field: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypeLacksField(tpe: UType, field: Name, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypesMismatch(tpe1: UType, tpe2: UType, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class UnknownTypeMismatch(tpe1: UType, tpe2: UType, hint: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class UnsupportedType(tpe: UType, hint: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ValueHasExtraField(value: TypedValue, contract: UType, field: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ValueLacksField(value: TypedValue, contract: UType, field: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalstrait TypeErrortrait MorphirRuntimeErrorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
In this article