com.eharmony.aloha.dataset.CompilerFailureMessages.scala Maven / Gradle / Ivy
The newest version!
package com.eharmony.aloha.dataset
import com.eharmony.aloha.AlohaException
trait CompilerFailureMessages {
protected[this] final def failure(featureName: String, msgs: Seq[String]) = {
val firstWhitespace = if (msgs.nonEmpty) "\n\t" else ""
new AlohaException(s"Couldn't compile function $featureName: $firstWhitespace ${msgs.mkString("\n\t")}")
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy