Another idea, if we use blank identifier for errors then throws statement
catch these with caller function name.
func printSum(a, b, c string) error {
throws func(caller string, err error) {
fmt.Println("caller:", caller, err)
return err
}()
x, _ :=
I did not see clear and simple either. As I wrote, I don't like complex
solutions. Just trying to ask: why we don't have simple solution. The
function just simple example, this isn't a draft or something.
On Friday, 31 July 2020 at 23:25:26 UTC+3 b.ca...@pobox.com wrote:
> On Friday, 31 July
Note; I don't want to send any proposal currently. Firstly, I would like to
share and discuss my idea with community.
On Friday, 31 July 2020 at 17:06:33 UTC+3 Yasar Semih Alev wrote:
> Hey Community,
>
> I know, there are so many discussion about error handling. I read tons of
>