Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 428 Bytes

ReturnNullFromCatchBlock.md

File metadata and controls

11 lines (6 loc) · 428 Bytes

Pattern: Returning null from catch block

Issue: -

Description

Returning null from a catch block often masks errors and requires the client to handle error codes. In some coding styles this is discouraged. This rule ignores methods with void return type.

Further Reading