Fixes typo in error method documentation.