Updated documentation regarding handling errors.