Excellent idea!
Occasionally an error message needs to be created or elaborated, requiring
a multi-line if statement body.
But the common situation is where the error is simply returned to the
calling function using a single-statement if statement.
If these single-statement if statements could
FlatBuffers is a cross-platform binary format like protobuf and gob, but it
is MUCH FASTER than protobuf and gob.
It can be challenging to learn (at first) so I've written a library in Go
which goes the extra mile and generates
the FlatBuffers schema and Go code that glues the flatc code into a