module Roda::RodaPlugins::ErrorEmail::InstanceMethods
def error_email(exception)
instance, but it can be a plain string which is used as the subject for
Send an email for the given error. +exception+ is usually an exception
def error_email(exception) email_opts = self.class.opts[:error_email].dup email_opts[:message] = error_email_content(exception) email_opts[:emailer].call(email_opts) end