'straws' would mean the dried stalks of plants. These float upon the surface of water and they're easy to see. This quote likens them to errors, which suggests that once an error is made, it is easy to see and remember.
Trying to find things valuable [pearls] come only with more work and greater effort and possibly, greater danger.
- For Teachers