Exception handling for invalid chunk options