mmeutils.errors package

Submodules

mmeutils.errors.mp4 module

MPEG-4 File Processing Errors

exception mmeutils.errors.mp4.InvalidMP4Error(*args)

Bases: RuntimeError

This error is raised when an invalid MP4 has been found.

A file is primarily invalid when it does not have a proper header with an “ftyp” FourCC code or is smaller than 8 bytes in size. The file might also have been corrupted (truncated).

Module contents

Errors/Exceptions

exception mmeutils.errors.ApiAuthenticationError(*args)

Bases: ApiError

This specific error is raised when an API yields an authentication error.

This may primarily be caused by an invalid token.

exception mmeutils.errors.ApiError(*args)

Bases: RuntimeError

This error is raised when an API yields no or invalid results.

This may be caused by authentication issues (invalid token), invalid user names or - in rare cases - changes to the API itself.

exception mmeutils.errors.ConfigError(*args)

Bases: RuntimeError

This error is raised when configuration data is invalid.

Invalid data may have been provided by configuration file or command-line.

exception mmeutils.errors.DownloadError(*args)

Bases: RuntimeError

This error is raised when a file could not be downloaded.

This may be caused by network errors, proxy errors, server outages and so on.

exception mmeutils.errors.M3U8Error(*args)

Bases: RuntimeError

This error is raised when M3U8 data is invalid eg. no audio and no video both.