Better error-handling for showing docs