std.BoundedArray: return explicit errors (#11044)

* std.BoundedArray: return explicit errors

Makes it easier to mark explicit errors when using BoundedArray
downstream.

* std.BoundedArray.insert() returns Overflow only
65943010c7Motiejus Jakštys committed on 3/3/2022, 6:39:45 PM· committed by GitHubparent9aa220e
1 file changedLine totals unavailable