sometimes a new property is added to an object in the API, and a PowerShell object will not be instantiated but will return an error. A method is needed to return user-friendly errors describing that problem and the list of properties returned from the API.
Needs
a Onelogin.Exception class for easily building new errors
exception message enum
can this all be handled centrally in Invoke-OneLoginRestMethod, rather than in each function?
sometimes a new property is added to an object in the API, and a PowerShell object will not be instantiated but will return an error. A method is needed to return user-friendly errors describing that problem and the list of properties returned from the API.
Needs