Saxonberg Server API
    Preparing search index...

    Class QuantityUnitMismatchError

    Thrown by same-unit math when a cast bypasses the compile-time type check at runtime (e.g. q1.add(q2 as Quantity<U>) with mismatched units).

    Hierarchy

    • Error
      • QuantityUnitMismatchError
    Index

    Constructors

    Properties

    Constructors

    Properties

    actual: Unit
    expected: Unit