org.scalatra.swagger.reflect.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalatra-swagger-jakarta_3 Show documentation
Show all versions of scalatra-swagger-jakarta_3 Show documentation
Scalatra integration with Swagger
package org.scalatra.swagger
package object reflect {
private[reflect] val ConstructorDefault = "$lessinit$greater$default"
private[reflect] val ModuleFieldName = "MODULE$"
private[reflect] val ClassLoaders = Vector(getClass.getClassLoader)
def fail(msg: String, cause: Exception = null) = {
if (cause != null) {
System.err.println(msg)
throw cause
} else sys.error(msg)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy