SeedCompany / cord-api-v3

Bible translation project management API
MIT License
18 stars 4 forks source link

[Neo4j] Mask errors out to GQL just like with EdgeDB #3221

Closed CarsonF closed 1 month ago

CarsonF commented 1 month ago

Now there shouldn't be any need to:

} catch (e) {
  ...
  throw new ServerException('Failed to do X');
}

Now you can throw e or skip the try/catch all together if there's no other logic.