use triple-quoted strings to avoid backslashes

I think it's when catching errors thrown in other windows/frames the `Error` constructor differs.