DOC: use code block for shorter error message