A succinct example showing how to enable error raising for invalid operations.