InsufficientSpaceError
class optris_sdk.errors.InsufficientSpaceError(InvalidArgumentError)
The destination has less free space than you asked to keep.
Raised by optris_sdk.camera.Camera.start_recording when
RecordingOptions.min_free_bytes is set and the destination's
file system is below it. Refused before anything is opened; the
message names what was free and what was required.
A subclass of InvalidArgumentError, for the same reason
PathExistsError is: the floor the caller passed is what
refused the call, and the caller is who can change it. So
except InvalidArgumentError keeps catching it, and code that
wants to offer "free some space, or lower the floor" catches this
instead.
Not IoError: nothing failed to be read or written, the
SDK deliberately did not try. Not OutOfRangeError
either, which is the destination's per-file ceiling -- more free
space fixes this one and cannot fix that one.