Skip to content

"Replaced assert Statements with Error Handling for Length Mismatch"#577

Open
ONKARBH wants to merge 1 commit intoaboutcode-org:developfrom
ONKARBH:onkar/574
Open

"Replaced assert Statements with Error Handling for Length Mismatch"#577
ONKARBH wants to merge 1 commit intoaboutcode-org:developfrom
ONKARBH:onkar/574

Conversation

@ONKARBH
Copy link

@ONKARBH ONKARBH commented Jan 18, 2025

"Replaced the assert statements in the code with if conditions that raise a ValueError exception when the lengths of lic_key, lic_name, and lic_score do not match. This update improves error handling and provides clear messages, ensuring the data consistency is properly validated."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant