improve documentation of language module exception types