]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Common/Class/Errors.php
baculum: Add restore hardlinks support in api
[bacula/bacula] / gui / baculum / protected / Common / Class / Errors.php
index 8a308d5fb3decc868c16e4184750187529249ac0..b0b7304f7c362000356c173d1ea36f0bcc4c3fe2 100644 (file)
@@ -111,13 +111,19 @@ class FileSetError extends GenericError {
 }
 
 class BVFSError extends GenericError {
-       const ERROR_JOB_DOES_NOT_EXISTS = 70;
+       const ERROR_INVALID_JOBID_LIST = 70;
        const ERROR_INVALID_RPATH = 71;
        const ERROR_INVALID_RESTORE_PATH = 72;
+       const ERROR_INVALID_FILEID_LIST = 73;
+       const ERROR_INVALID_FILEINDEX_LIST = 74;
+       const ERROR_INVALID_DIRID_LIST = 75;
 
-       const MSG_ERROR_JOB_DOES_NOT_EXISTS = 'Job with inputted jobid does not exist.';
+       const MSG_ERROR_INVALID_JOBID_LIST = 'Invalid jobid list.';
        const MSG_ERROR_INVALID_RPATH = 'Inputted path for restore is invalid. Proper format is b2[0-9]+.';
        const MSG_ERROR_INVALID_RESTORE_PATH = 'Inputted BVFS path param is invalid.';
+       const MSG_ERROR_INVALID_FILEID_LIST = 'Invalid fileid list.';
+       const MSG_ERROR_INVALID_FILEINDEX_LIST = 'Invalid file index list.';
+       const MSG_ERROR_INVALID_DIRID_LIST = 'Invalid dirid list.';
 }
 
 class JSONToolsError extends GenericError {