Sha256: 6a546b92de1f6cccaf19f44cd1965a8277a5677ab4439bf020e98e9634ec4d02
Contents?: true
Size: 316 Bytes
Versions: 21
Compression:
Stored size: 316 Bytes
Contents
module Hobo module ErrorHandlers class Debug include Hobo::ErrorHandlers::ExitCodeMap def handle error Hobo.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
21 entries across 21 versions & 1 rubygems