add docs for the exceptions