Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A base library for Hoptoad error reporting

Fetching latest commit…

Cannot retrieve the latest commit at this time

Readme.md

Toadhopper

A base library for Hoptoad error reporting.

Toadhopper can be used to report plain old Ruby exceptions or to build a library specific gem, such as the yet-to-be-built toadhopper-sinatra and toadhopper-rack gems (they're next on my list).

Example

 require 'rubygems'

 gem 'toadhopper'
 require 'toadhopper'

 Toadhopper.api_key = "YOURAPIKEY"

 error = begin; raise "Kaboom!"; rescue => e; e; end

 puts Toadhopper.post!(error)
Something went wrong with that request. Please try again.