Skip to content

Files

Latest commit

 

History

History
22 lines (13 loc) · 368 Bytes

unhandled-error.md

File metadata and controls

22 lines (13 loc) · 368 Bytes

Pattern: Unhandled error

Issue: -

Description

This rule warns when errors returned by a function are not explicitly handled on the caller side.

Configuration

Function names to ignore.

Example:

[unhandled-error]
  arguments =["fmt.Printf", "myFunction"]

Further Reading