NominalFileStoreError#

exception nominal.experimental.drives.NominalFileStoreError(code, message)#

Bases: NominalError

A drive operation was rejected.

Single-operation methods raise this for per-change failures returned by the service. Local precondition checks, such as writing to a read-only drive, also raise this error. DriveBatch.submit returns FileChangeFailure for per-change failures instead.

Request-level failures raise general Nominal exceptions, such as NominalNotFoundError. A transport error can occur after a change was applied; it does not establish that the change was rejected. See Recover after a transport error before retrying.

Initialize error with the error code and message.