[syserr.errcondition.nonmembers]

# 19 Diagnostics library [[diagnostics]](./#diagnostics)

## 19.5 System error support [[syserr]](syserr#errcondition.nonmembers)

### 19.5.5 Class error_condition [[syserr.errcondition]](syserr.errcondition#nonmembers)

#### 19.5.5.5 Non-member functions [syserr.errcondition.nonmembers]

[ð](#lib:make_error_condition,errc)

`error_condition make_error_condition(errc e) noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/diagnostics.tex#L1425)

*Returns*: error_condition(static_cast<int>(e), generic_category())[.](#1.sentence-1)
