Subversion
|
Error groups. More...
Macros | |
#define | SVN_ERR_IS_LOCK_ERROR(err) |
Return TRUE if err is an error specifically related to locking a path in the repository, FALSE otherwise. More... | |
#define | SVN_ERR_IS_UNLOCK_ERROR(err) |
Return TRUE if err is an error specifically related to unlocking a path in the repository, FALSE otherwise. More... | |
#define | SVN_ERROR_IN_CATEGORY(apr_err, category) ((category) == ((apr_err) / SVN_ERR_CATEGORY_SIZE) * SVN_ERR_CATEGORY_SIZE) |
Evaluates to TRUE iff apr_err (of type apr_status_t) is in the given category, which should be one of the SVN_ERR_*_CATEGORY_START constants. More... | |
Error groups.
#define SVN_ERR_IS_LOCK_ERROR | ( | err | ) |
Return TRUE if err is an error specifically related to locking a path in the repository, FALSE otherwise.
SVN_ERR_FS_OUT_OF_DATE and SVN_ERR_FS_NOT_FOUND are in here because it's a non-fatal error that can be thrown when attempting to lock an item.
SVN_ERR_REPOS_HOOK_FAILURE refers to the pre-lock hook.
Definition at line 453 of file svn_error.h.
#define SVN_ERR_IS_UNLOCK_ERROR | ( | err | ) |
Return TRUE if err is an error specifically related to unlocking a path in the repository, FALSE otherwise.
SVN_ERR_REPOS_HOOK_FAILURE refers to the pre-unlock hook.
Definition at line 471 of file svn_error.h.
#define SVN_ERROR_IN_CATEGORY | ( | apr_err, | |
category | |||
) | ((category) == ((apr_err) / SVN_ERR_CATEGORY_SIZE) * SVN_ERR_CATEGORY_SIZE) |
Evaluates to TRUE
iff apr_err (of type apr_status_t) is in the given category, which should be one of the SVN_ERR_*_CATEGORY_START
constants.
Definition at line 486 of file svn_error.h.