Sha256: 78ae58db8a1477aa78a4117aece82a627aeffafcd58c2139b5c93166c224ff7d
Contents?: true
Size: 313 Bytes
Versions: 6
Compression:
Stored size: 313 Bytes
Contents
module Hem module ErrorHandlers class Debug include Hem::ErrorHandlers::ExitCodeMap def handle error Hem.ui.error "\n(#{error.class}) #{error.message}\n\n#{(error.backtrace || []).join("\n")}" return EXIT_CODES[error.class.to_s] || DEFAULT_EXIT_CODE end end end end
Version data entries
6 entries across 6 versions & 1 rubygems