Fixed _wsresult_error

_wsresult_error now returns 0 by default if the data type is not a NsWsResult