Forum Discussion
Michel_van_der_
Nimbostratus
May 29, 2003Error codes?
Where can I find the definitions of the error codes that the API can return?
I want to e.g. make sensible decisions when a call returns 'item not found'
when I do a get_list call of some sort.
5 Replies
- Michel_van_der_
Nimbostratus
I posted a question in the perl section as well, but after digging around a bit, it would - Michel_van_der_
Nimbostratus
That answers that. I guess the Monitor2 interface is really what I should be using? - Loc_Pham_101863Historic F5 AccountYes, if possible, using Monitor2 interface will greatly ease your pain in terms of working with monitors, as well as the additional functionalities. :-)
- Loc_Pham_101863Historic F5 AccountAll of our errors are returned as OperationFailed exceptions, so you don't need to have the definitions of the error codes, since that would require that the client-side error definitions be updated with each release. The OperationFailed exception has both the error code and error string in there, so from a client's perspective, you'd just do something different if an exception is caught.
- This was reported early on and was corrected in a later PTF, I believe you mentioned that you were on 4.2PTF02 which this fix is not included in.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects