[ENH] Replace asserts with proper if else Exception handling
#2782
| Job | Run time |
|---|---|
| 1m 27s | |
| 1m 27s |
asserts with proper if else Exception handling
#2782
| Job | Run time |
|---|---|
| 1m 27s | |
| 1m 27s |