Error codes for the Advertising Service.
#include <bbads/bbads.h>
enum {
BBADS_EOK == 0
BBADS_EBANNER == 1
BBADS_ESIZE == 2
BBADS_EINVAL == 3
BBADS_ESTATE == 4
BBADS_ENOMEM == 5
BBADS_EINTERNAL == 127
} bbads_error_t;
BBADS_EINTERNAL indicates that an internal error occurred, which prevented the requested operation from being fulfilled. While it's generally safe to attempt retrying the operation, this error could indicate the presence of a more fundamental problem. BBADS_EINTERNAL is the only error code that will not be returned if you provide invalid parameters in a function call.