angee.storage.exceptions
Upload-flow errors raised at the storage API boundary.
Raised by the file creation factory and byte-flow methods (File.objects.draft, File.receive_bytes / File.finalize) and translated by the thin transport wrappers: the proxy view maps :attr:UploadError.status_code to an HTTP status, the GraphQL mutations map :attr:UploadError.code to a payload error_code.
UploadError
class UploadError(Exception)Common parent for upload-flow errors raised at the API boundary.
status_code
HTTP status the proxy view answers with.
code
Stable machine-readable code carried on GraphQL error payloads.
UploadDenied
class UploadDenied(UploadError)The actor may not perform this upload step.
UploadTargetNotFound
class UploadTargetNotFound(UploadError)A drive, folder, or file addressed by the request does not exist.
UploadConflict
class UploadConflict(UploadError)The upload contradicts persisted state (dedup race, bad bytes, replay).
UploadTooLarge
class UploadTooLarge(UploadError)The proxied body exceeds the configured byte cap.