Forum Discussion
wayney_128269
Nimbostratus
Mar 03, 2008List of Primary Error Codes?
Is there a list of Primary Error Codes and what they mean?
I'm writing a C app, and do not just want to catch general exceptions. I want to say parse the primary error code and throw an appropriate expecption.
thanks
wayne
5 Replies
- Don_MacVittie_1Historic F5 AccountHey Wayne,
On the Wiki there is a list for each call that is made that includes what they mean... But I do not know of a master list because you can't offer details about the error at a macro level. That's not to say there is no such list, but I'm not aware of one.
Don. - wayney_128269
Nimbostratus
Please provide a link to the wiki - Don_MacVittie_1Historic F5 AccountMy apologies. The main page for the iControl Wiki is here: http://devcentral.f5.com/wiki/Default.aspx/iControl.HomePage
I hope it helps!
Don. - Hey Wayne, If you are referring to the primary/secondary error codes returned inside the iControl "OperationFailed" Exception, then there are a bunch of them. Actually, too many to list here. If you login to the console on your BIG-IP and go into the /etc/alertd directory, you will see a bunch of files ending in "error_maps.h". These are all the internal error codes.
Now, I know what you are going to ask next: What are the specific error codes that can possibly be returned from each iControl method? Unfortunately, there is an abstraction layer between iControl and the internal configuration engine and our exceptions are returned via a generic "get_error" and "get_error_string" interface into the config engine.
Not that it would be impossible to build this full mapping, but it would require a full scan of all code paths for each iControl call which would be a mammoth undertaking.
Typically, there are only a couple of error codes that are returned for each method (object not found, etc).
Hopefully this gets you going in the right direction.
-Joe - get_nick_206749Historic F5 Account
Hi wayney,
I know it might be a little late, but I wanted to let you know that we do have a Log Messages Reference available now. It is on our release documentation site.
Here is the link: https://support.f5.com/kb/en-us/products/big-ip_ltm/releasenotes/related/log-messages.html
~Nick
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
