Implement ToStr on error types