Replace `inError` by `inError.toString()`