Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A base library for Hoptoad error reporting
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
Rakefile
Readme.md
toadhopper.gemspec

Readme.md

Toadhopper

A base library for Hoptoad reporting.

You can use this 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 (that's 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.