module Hyperstack def self.on_error(err, reason, details) # do whatever you want here... i.e. log, debug, etc end end