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