Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

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

About

Hawk catcher for Scala

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.