Skip to content

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.

def export(format)
raise NotImplementedError, "PDF export not done yet"
end
def export(format)
case format
when :csv then CsvExporter.new(self).run
else raise ArgumentError, "Unsupported format: #{format}"
end
end

Complete the placeholder with a real implementation, or reject unsupported cases with a specific error.