private $allowedErrors = array(
GenericError::ERROR_NO_ERRORS,
- BconsoleError::ERROR_INVALID_COMMAND
+ BconsoleError::ERROR_INVALID_COMMAND,
+ PoolError::ERROR_NO_VOLUMES_IN_POOL_TO_UPDATE
);
private function getConnection() {
const ERROR_NO_VOLUMES_IN_POOL_TO_UPDATE = 41;
const MSG_ERROR_POOL_DOES_NOT_EXISTS = 'Pool with inputed poolid does not exist.';
- const MSG_NO_VOLUMES_IN_POOL_TO_UPDATE= 'Pool with inputed poolid does not contain any volume to update.';
+ const MSG_ERROR_NO_VOLUMES_IN_POOL_TO_UPDATE= 'Pool with inputed poolid does not contain any volume to update.';
}
class JobError extends GenericError {
const MSG_ERROR_JOB_DOES_NOT_EXISTS = 'Job with inputed jobid does not exist.';
const MSG_ERROR_INVALID_PATH = 'Inputed path for restore is invalid. Proper format is b2[0-9]+.';
}
-?>
\ No newline at end of file
+?>