"only include information the caller doesn’t have."

jaguajagua のブックマーク 2021/10/04 00:45

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Wrapping Errors the Right Way

    I’ve seen a few examples of error handling like the following lately: func MightFail(id string) error { err := sqlStatement() if err != nil { return fmt.Errorf("mightFail failed with id %v because ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう