Is there a way to convert a json string representation of an ApolloError into an actual ApolloError object? Or at least parse it in JS somehow?
i.e. If I have something like this:
const x = `{ 'message': 'message', 'locations': [{ 'line': 2, 'column': 3 }], 'path': ['path'], 'extensions': { 'errorType': 'type', 'errorCode': None, 'errorName': 'name', 'message': "",'stackTrace': None, 'operatorName': None, } }`;