fix doc typo
Merge pull request #49 from piti118/rename_up_to_error_def

fix doc typo