Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (6 sloc) 0.173 kb
1 2 3 4 5 6
Bus = require "./bus"
bus = new Bus
bus.on "*.error", (error) ->
  {name,message} = error
  console.log "#{name}: #{message}"
bus.emit "", new Error "Ruh-roh!"
Something went wrong with that request. Please try again.