erlangbureau / jamdb_oracle

Oracle Database driver for Erlang
MIT License
103 stars 46 forks source link

guard receive functions #179

Open adobley opened 3 months ago

adobley commented 3 months ago

We observed in #178 that unexpected messages could cause function_clause errors. By guarding on the expected types we gain some guarantees about the message contents

I'm certainly a novice in erlang. This may not be the right way to resolve this issue. Though, it does appear to fix it for the reproduction we created in #178.

Some thoughts.