Sha256: 436b92d2c4df2d71d05dbb79f387f91424596de63aafcd3871bf164d0194689f
Contents?: true
Size: 233 Bytes
Versions: 44
Compression:
Stored size: 233 Bytes
Contents
module ExceptionHandler extend ActiveSupport::Concern class HubspotError < StandardError; end included do rescue_from HubspotError do |error| @error = error render template: 'contacts/index' end end end
Version data entries
44 entries across 22 versions & 1 rubygems