org.hyperscala.web.package.scala Maven / Gradle / Ivy
package org.hyperscala
import web.VisualException
import language.implicitConversions
/**
* @author Matt Hicks
*/
package object web {
implicit def throwable2Div(t: Throwable) = new VisualExceptionCreator(t)
}
class VisualExceptionCreator(t: Throwable) {
def toHTML = new VisualException(t)
}