Not Implemented Exception (ARCH6156)
Key ruby.logging.not-implemented · Severity warning · Category logging
Placeholders that raise NotImplementedError cause runtime crashes in production code paths. They must be replaced with a real implementation before shipping.
Incorrect
Section titled “Incorrect”def export(format) raise NotImplementedError, "PDF export not done yet"endCorrect
Section titled “Correct”def export(format) case format when :csv then CsvExporter.new(self).run else raise ArgumentError, "Unsupported format: #{format}" endendComplete the placeholder with a real implementation, or reject unsupported cases with a specific error.