Skip to content

codex-team/hawk.scala

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages