[FEAURE] Improved exception message for invalid num parameters #109
Labels
enhancement
New feature or request
error-handling
Issues related to error handing and error propagation
program-validation
Issues related to program validation
For example, if I try to pass two parameters to the
rz
gate instead of just one, I get aTypeError
instead of aValidationError
, and it isn't clear from the exception message what gate or line caused the error.The text was updated successfully, but these errors were encountered: