# std.BoundedArray: return explicit errors \(\#11044\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/65943010c70b33e711a038dff5f80066045ee1b7)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 65943010c70b33e711a038dff5f80066045ee1b7

Requested commit: 65943010c70b33e711a038dff5f80066045ee1b7

Commit: 65943010c70b33e711a038dff5f80066045ee1b7

Tree: fa32584638d477a2e2af3847c69c45abee6b5555

Author: Motiejus Jakštys

Committer: GitHub

## Message

```
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
```

## Parents

- [9aa220ebb5553b12fe4f059c7b97bab0404ab689](https://git.cafe/gitcafe/zig/commit/9aa220ebb5553b12fe4f059c7b97bab0404ab689?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/65943010c70b33e711a038dff5f80066045ee1b7?format=markdown)
