Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 543 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 543 Bytes

Panic.kt

Panic and kill the current process

Dependency

In your gradle file

Follow this guide on how to set up your environment for GitHub packages.

plugins {
	id("no.ghpkg") version "0.3.3"
}

repositories {
	git.hub("telenornorway", "panic.kt")
	// or <.. the below> if you're spicy 🌶️
	// git.hub("telenornorway")
}

dependencies {
	implementation("no.telenor.kt:panic:<VERSION HERE>")
}

Usage

import no.telenor.kt.panic

panic("Something went wrong", ex)