Skip to content

objectpool: Standardize errors creation

Pavlo Strokov requested to merge ps-objectpool-fix into master

Replace usage of status.Errorf() with helper.Errf() to make error creation more standard. Return Internal code in case of an unexpected operation failure instead of Undefined by using helper.ErrInternal(). Replace old %v with new %w for proper error wrapping.

Part of: #4471 (closed)

Merge request reports