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 a...
Mar 04, 2008
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
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
