In v3.0.0 the rrors are not exposed from the global script. Thus we can use ```instanceof``` checks.
A work around is to use err.name which is a string of the Error class so can be tested without access to the class itself
Is it something that can/should be improved in v3 SDKs? Can you explain how this should be achieved?