iansmith / parigot

Develop as a monolith, deploy as microservices.
https://parigot.info
BSD 3-Clause "New" or "Revised" License
12 stars 1 forks source link

Distinguish semantic errors produced server implementations #8

Closed iansmith closed 1 year ago

iansmith commented 1 year ago

The serverdecl.tmpl in protoc-gen-parigot has a problem with the error returns. When it calls a function like Open (at line 110 of FileServer.p.go at the moment) in the implementation it is expecting two return values, the returned value and a possible error. It should be expecting three return values, the two previous and a new one that is lib.Id.