I always get tripped up on this case. What’s shown in the picture is correct, though you’re applying the rules of English grammar very logically, the apostrophe in it's is only for contraction, not possession. That may go out the window if someone uses it as a pronoun though, idk.
I can just imagine something in the middle being like
`We couldn't log you in because ${getReason(e) || 'the network failed to do its network thing'}.`
100% this is what happened. Also, it’s its not it’s, right?
I always get tripped up on this case. What’s shown in the picture is correct, though you’re applying the rules of English grammar very logically, the apostrophe in
it's
is only for contraction, not possession. That may go out the window if someone uses it as a pronoun though, idk.