Re: New EEP for extended error information

Max Lapshin <[email protected]>
Newsgroups gmane.comp.lang.erlang.general,gmane.comp.lang.erlang.eeps
Message-ID <CAMxVRxAouC4Ea4tWEGu1etB=wcOooZY6=c=jEVBk6QyxN664PA@mail.gmail.com>
Very good feature.

Our code is full with reminders where we were wrong:
https://github.com/flussonic/v4l-erl/blob/master/c_src/v4l.c#L246
(return ERROR(arg0)), but
this eep seems to be much better.

On Wed, Nov 4, 2020 at 8:19 AM Björn Gustavsson <[email protected]> wrote:
>
> There is a new EEP that suggests a way to show
> additional information about why a call to a BIF
> failed.
>
> Here is the EEP:
>
> https://github.com/erlang/eep/blob/master/eeps/eep-0054.md
>
> And here is the pull request for the implementation:
>
> https://github.com/erlang/otp/pull/2849
>
> /Björn
>
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.