I am trying to prevent multiple native alerts showing up on my users. When a Facebook listener is called and an error is passed, are the two following assertions exactly equivalent?
event.response contains “error” in the first line
event.isError = true
I other words, are there cases when Facebook response might contain an error message and event.isError is false or vice versa?
I know it might sound a little silly but I find it very difficult to provoke errors and therefore test this API behaviour… any experiences welcome.