tor-ptmgr: Handle unsupported escapes
Previously, unrecognized escape codes were pushed to the return value as
\\
.
In my opinion, this seems undesired behavior; therefore this commit changes it to return an error instead.
Previously, unrecognized escape codes were pushed to the return value as
\\
.
In my opinion, this seems undesired behavior; therefore this commit changes it to return an error instead.