3.0 Error codes
The LegionClientExit.h file contains the declarations for the error reporting mechanism for these command-line utilities:
legion_activate_instances
legion_activate_object
legion_cat
legion_classof
legion_context_add
legion_cp
legion_deactivate_instances
legion_deactivate_object
legion_get_host
legion_get_vault
legion_list_instances
legion_list_names
legion_list_objects
legion_login
legion_logout
legion_ls
legion_ping
legion_print_config
legion_pwd
legion_rm
legion_set_vault
legion_wellknown_class
legion_whereis
legion_whoami
Below are the identifiers and their codes.
LC_SUCCESS = 0
LC_BAD_ARGUMENTS = 1
LC_MEMORY_ALLOCATION_ERROR = 2
LC_OBJECT_NOT_FOUND = 3
LC_CONTEXT_NOT_FOUND = 4
LC_OBJECT_DOES_NOT_EXIST = 5
LC_OBJECT_ALREADY_EXISTS = 6
LC_LOID_NOT_OBTAINED = 7
LC_LEGION_OUTCALL_FAILED = 8
LC_SECURITY_EXCEPTION = 9
LC_GENERAL_LEGION_ERROR = 10
LC_UNKNOWN_LEGION_ERROR = 11
LC_OTHER_ERROR = 12
legion@Virginia.edu
http://legion.virginia.edu/
|