You need a better error message about reverse being disabled. It's easy to understand the problem without reading the entire description and miss that one line at the very end.
Also, is manually reversing a string the complexity you want to add to the problem? Yes, there are more efficient ways than String.reverse(), but that's not being tested.
This comment is hidden because it contains spoiler information about the solution