Slide 10
Slide 10 text
到達可能性チェッカー
module ReachableChecker
class << self
def execute(message: nil)
raise UnexpectedReachedError.new(message)
rescue UnexpectedReachedError => error
raise if Rails.env.development? || Rails.env.test?
ErrorReportService.report(error, :warning)
end
end
class UnexpectedReachedError < StandardError
end
end