Details
-
New Feature
-
Resolution: Fixed
-
Critical
-
None
-
Security Level: Public
-
None
Description
I haven't exhaustively tested, but taking the below example of an unknown hostname, we get the error code of `5002` which maps to the correct error:
However this should presumably be included in the `CouchbaseLiteException`, rather than requiring a look up of `5002`:
```
ReplicatorChange{replicator=Replicator[<- Database@3379dd6
URLEndpoint
{url=ws://*****************:4984/********}], status=Status{activityLevel=STOPPED, progress=Progress
{completed=0, total=0}, error=CouchbaseLiteException
{domain='CouchbaseLite', code=5002, msg=null}}}
```