
ktx.app.exceptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktx-app Show documentation
Show all versions of ktx-app Show documentation
LibGDX general utilities for Kotlin applications.
package ktx.app
import com.badlogic.gdx.utils.GdxRuntimeException
/**
* Throws a [GdxRuntimeException]. The [message] will be converted to string and passed as the exception message.
* The [cause] is an optional exception cause. See also: [error].
*/
@Suppress("NOTHING_TO_INLINE")
inline fun gdxError(
message: Any? = null,
cause: Throwable? = null,
): Nothing = throw GdxRuntimeException(message.toString(), cause)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy