realvitya / pyfortinet

Fortinet Python API library
https://realvitya.github.io/pyfortinet/
2 stars 1 forks source link

FMG - Error messages with hints #16

Open realvitya opened 1 month ago

realvitya commented 1 month ago

Sometimes FMG is not very precise when it returns error message. It would be nice to have a logic to evaluate error message along with the request before providing result to user and give possible solutions.

Example:

"Invalid URL" error most of the time is some variable missing.