dal.exceptions package

Submodules

dal.exceptions.exceptions module

Copyright (C) Mov.ai - All Rights Reserved Unauthorized copying of this file, via any medium is strictly prohibited Proprietary and confidential

Developers: - Moawiya Mograbi (moawiya@mov.ai) - 2022

DAL Exceptions

exception dal.exceptions.exceptions.ArchiveAlreadyRegistered(*args: object)

Bases: ArchiveException

class dal.exceptions.exceptions.ArchiveErr(value)

Bases: IntEnum

An enumeration.

ARCHIVE_ALREADY_REGISTERED = 403
ARCHIVE_NOT_REGISTERED = 402
BASE_ARCHIVE_ERR = 400
NO_ACTIVE_ARCHIVE_REGISTERED = 401
exception dal.exceptions.exceptions.ArchiveException(error, *args: object)

Bases: DalException

exception dal.exceptions.exceptions.ArchiveNotRegistered(*args: object)

Bases: ArchiveException

exception dal.exceptions.exceptions.BranchAlreadyExist(*args)

Bases: GitException

exception dal.exceptions.exceptions.DalException

Bases: Exception

exception dal.exceptions.exceptions.FileDoesNotExist(*args)

Bases: GitException

class dal.exceptions.exceptions.GitErr(value)

Bases: IntEnum

An enumeration.

BASE_GIT_ERR = 100
BRANCH_ALREADY_EXIST_ERR = 102
FILE_DOES_NOT_EXIST = 107
GIT_PERMISSION_ERR = 109
GIT_USER_ERR = 106
NO_CHANGES_TO_COMMIT_ERR = 103
REPO_DOES_NOT_EXIST = 108
SLAVE_MANAGER_CANNOT_CHANGE_ERR = 104
TAG_ALREADY_EXIST_ERR = 105
VERSION_DOES_NOT_EXIST_ERR = 101
exception dal.exceptions.exceptions.GitException(error, *args: object)

Bases: DalException

property value
exception dal.exceptions.exceptions.GitPermissionErr(*args)

Bases: GitException

exception dal.exceptions.exceptions.GitUserErr(*args: object)

Bases: GitException

exception dal.exceptions.exceptions.NoActiveArchiveRegistered(*args: object)

Bases: ArchiveException

exception dal.exceptions.exceptions.NoChangesToCommit(*args)

Bases: GitException

exception dal.exceptions.exceptions.RepositoryDoesNotExist(*args)

Bases: GitException

class dal.exceptions.exceptions.SchemaErr(value)

Bases: IntEnum

An enumeration.

BASE_SCHEMA_ERR = 200
SCHEMA_TYPE_NOT_KNOWN = 202
SCHEMA_VERSION_ERR = 201
exception dal.exceptions.exceptions.SchemaException(error, *args: object)

Bases: DalException

property value
exception dal.exceptions.exceptions.SchemaTypeNotKnown(*args: object)

Bases: SchemaException

exception dal.exceptions.exceptions.SchemaVersionError(*args: object)

Bases: SchemaException

exception dal.exceptions.exceptions.SlaveManagerCannotChange(*args: object)

Bases: GitException

exception dal.exceptions.exceptions.TagAlreadyExist(*args: object)

Bases: GitException

class dal.exceptions.exceptions.ValidationErr(value)

Bases: IntEnum

An enumeration.

BASE_VALIDATION_ERR = 300
VALIDATION_ERR = 301
exception dal.exceptions.exceptions.ValidationError(*args: object)

Bases: ValidationException

exception dal.exceptions.exceptions.ValidationException(error, *args: object)

Bases: DalException

property value
exception dal.exceptions.exceptions.VersionDoesNotExist(*args)

Bases: GitException

Module contents

Copyright (C) Mov.ai - All Rights Reserved Unauthorized copying of this file, via any medium is strictly prohibited Proprietary and confidential

Developers: - Moawiya Mograbi (moawiya@mov.ai) - 2022

exception dal.exceptions.ArchiveAlreadyRegistered(*args: object)

Bases: ArchiveException

exception dal.exceptions.ArchiveNotRegistered(*args: object)

Bases: ArchiveException

exception dal.exceptions.BranchAlreadyExist(*args)

Bases: GitException

exception dal.exceptions.FileDoesNotExist(*args)

Bases: GitException

exception dal.exceptions.GitPermissionErr(*args)

Bases: GitException

exception dal.exceptions.GitUserErr(*args: object)

Bases: GitException

exception dal.exceptions.NoActiveArchiveRegistered(*args: object)

Bases: ArchiveException

exception dal.exceptions.NoChangesToCommit(*args)

Bases: GitException

exception dal.exceptions.RepositoryDoesNotExist(*args)

Bases: GitException

exception dal.exceptions.SchemaTypeNotKnown(*args: object)

Bases: SchemaException

exception dal.exceptions.SchemaVersionError(*args: object)

Bases: SchemaException

exception dal.exceptions.SlaveManagerCannotChange(*args: object)

Bases: GitException

exception dal.exceptions.TagAlreadyExist(*args: object)

Bases: GitException

exception dal.exceptions.ValidationError(*args: object)

Bases: ValidationException

exception dal.exceptions.VersionDoesNotExist(*args)

Bases: GitException