Revision history [back]

click to hide/show revision 1
initial version

The list of defined error responses in AJ Core can be seen here: https://git.allseenalliance.org/cgit/core/ajtcl.git/tree/src/aj_std.c

Also, Base Services frameworks seem to be the same errors can be found at: https://git.allseenalliance.org/cgit/services/base_tcl.git/tree/services_common/inc/alljoyn/services_common/ServicesCommon.h

The errors in AJ Core (or Base services) have the prefix org.alljoyn because they are errors being indicated by AJ Core (or Base services).

Yes, any string is acceptable to be sent as an error when your application wants to return an error as a reponse to a method request. However, its best if you use prefixes that correspond to the interfaces used in your application to indicate application-specific errors. This link might be a good read for additional information.