Skip to content

codex-team/hawk.scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hawk.scala

Scala errors Catcher module for Hawk.so

Usage

Register an account and get a project token.

Install module

$ sbt build

Download and require codex.hawk package

You can download this repository and import codex.hawk.HawkCatcher class in your project.

import codex.hawk.HawkCatcher

Init HawkCatcher

Create an instance with token to the entry point of your project.

val hawkCatcher = new HawkCatcher("<token>")

Catch exception

You can catch exceptions by yourself without enabling handlers.

try {
  throw new Exception("Major error")
} catch {
  case e: Exception => new HawkCatcher("<token>").catchException(e)
}

Links

Repository: https://github.com/codex-team/hawk.scala

Report a bug: https://github.com/codex-team/hawk.scala/issues

CodeX Team: https://ifmo.su

Releases

No releases published

Packages

No packages published

Languages