Errors (pyhmmer.errors)#

Common errors and status codes for the easel and hmmer modules.

Memory Errors#

AllocationError(ctype, itemsize[, count])

A memory error that is caused by an unsuccessful allocation.

Value Errors#

AlphabetMismatch(expected[, actual])

A value error caused by an alphabet mismatch.

MissingCutoffs([model_name, bit_cutoffs])

The model is missing bitscore cutoffs required by the pipeline.

InvalidHMM(hmm, message)

A value error caused by a HMM that fails validation.

InvalidParameter(name, value, *[, choices, hint])

An invalid parameter value was given.

Runtime Errors#

UnexpectedError(code, function)

An unexpected error that happened in the C code.

EaselError(code, message)

An error that was raised from the Easel code.

ServerError(code, message)

A runtime error that happened in a hmmpgmd server.