org.finos.morphir.runtime.TypeError$
See theTypeError companion class
object TypeError
Attributes
Members list
Type members
Classlikes
final case class ApplyToNonFunction(nonFunction: TypedValue, arg: TypedValue) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ArgNumberMismatch(first: Int, second: Int, msg: String) extends SizeMismatch
Attributes
- Supertypes
-
trait Producttrait Equalsclass SizeMismatchclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ArgumentDoesNotMatchParameter(arg: TypedValue, param: UType) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class CannotDealias(err: LookupError, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ConstructorMissing(err: LookupError, fqn: FQName) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class DefinitionMissing(err: LookupError) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ImproperType(tpe: UType, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ImproperTypeSpec(fqn: FQName, spec: USpecification, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class InferenceConflict(msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class LiteralTypeMismatch(lit: Lit, tpe: UType) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ManyTypeErrors(errors: List[TypeError]) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class OtherTypeError(msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
class SizeMismatch(first: Int, second: Int, msg: String) extends TypeError
Attributes
- Supertypes
-
class TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ArgNumberMismatch
final case class TypeHasDifferentFieldType(first: UType, second: UType, field: Name, firstTpe: UType, secondTpe: UType) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypeHasExtraField(tpe: UType, contract: UType, field: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypeLacksField(tpe: UType, field: Name, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypeMissing(fqn: FQName, err: LookupError) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypeVariableMissing(name: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class TypesMismatch(tpe1: UType, tpe2: UType, msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class UnimplementedType(msg: String) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ValueHasExtraField(value: TypedValue, contract: UType, field: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
final case class ValueLacksField(value: TypedValue, contract: UType, field: Name) extends TypeError
Attributes
- Supertypes
-
trait Producttrait Equalsclass TypeErrorclass MorphirRuntimeErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
In this article