fix(cwversion): Use a less strict comparison for the SWR error object
THen it check if the error is null or undefined in case of the API change, the code still working
THen it check if the error is null or undefined in case of the API change, the code still working