TypeMappingException
class TypeMappingException(val messageEnum: TypeMappingExceptionMessage, val value: Any? = null, val targetType: String? = null, val rowData: Map<String, Any?>? = null, val propertyName: String? = null, cause: Throwable? = null) : FatalDatabaseException
Exception thrown when data cannot be mapped between the database and Kotlin objects.
This covers issues with kotlinx.serialization, reflection-based mapping to data classes, and custom type converters.
As a FatalDatabaseException, it usually indicates a mismatch between the SQL query result and the target Kotlin model (e.g., missing column, incompatible type, or unexpected null).