Unique error enum used across the library.
Not all errors may occur in every module’s function. Every API function specifies the errors it may return (sometimes not exhaustively!).