# Enable thread_pool function to throw errors \(\#20260\) · gitcafe/zig

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

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

Visibility: public

Requested revision: d346d074ebe5347f730a70d3a88b12f279bb405d

Requested commit: d346d074ebe5347f730a70d3a88b12f279bb405d

Commit: d346d074ebe5347f730a70d3a88b12f279bb405d

Tree: 7060ccbffc33f60591299f0d1f9e72795157970b

Author: ippsav

Committer: GitHub

## Message

```
Enable thread_pool function to throw errors (#20260)

* std.ThreadPool: allow error union return type

* allow noreturn in Pool.zig
```

## Parents

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

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