- updated copyright notice
- added snErrorToString