G

Go Error Folds

JetBrains

4f769059-e436-4ea7-8418-173afebe2df3 · v—

fold go error handling . before: e := method() if e != nil { return errors.New("%w",e) } after: e := method() catch { return errors.New("%w",e) } one line returns/panics: e := method() catch : errors.Errorf("%w",e) ⤴

Editor
Open in store ↗ id: 22486
Downloads
620
620
Rating
4.1 ★
1 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 1 ratings
5★ 100.0%

Reviews 1

★★★★★ minh.a.nguyen 2025-02-04

simple and elegant. it does only one job, and it does exceptionally well. must have for people working with golang and finding verbose error handling clogging their editor hurting readability.

Similar in “Editor”