7 lines
316 B
Ruby
7 lines
316 B
Ruby
|
# Inherit from `Exception` instead of `StandardError`
|
||
|
# because this error is raised in a `rescue_from StandardError`,
|
||
|
# so it would be shallowed otherwise.
|
||
|
#
|
||
|
# TODO: add a test which verify that the error will permit the job to retry
|
||
|
class MailDeliveryError < Exception; end # rubocop:disable Lint/InheritException
|