Create Prisma error from json.
factory GraphQLError.fromJson(Map<String, dynamic> json) => _$GraphQLErrorFromJson(json);