List 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

Hey 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.

Please provide a link to the wiki

My 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

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: Log Messages Reference | BIG-IP Documentation

~Nick