Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions docs/standard-library/system-error-functions.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
description: "Learn more about: <system_error> functions"
title: "<system_error> functions"
description: "Learn more about: <system_error> functions"
ms.date: "03/15/2019"
f1_keywords: ["system_error/std::generic_category", "system_error/std::make_error_code", "system_error/std::make_error_condition", "system_error/std::system_category"]
ms.assetid: 57d6f15f-f0b7-4e2f-80fe-31d3c320ee33
helpviewer_keywords: ["std::generic_category", "std::make_error_code", "std::make_error_condition", "std::system_category"]
---
# `<system_error>` functions
Expand All @@ -18,20 +17,24 @@ const error_category& generic_category() noexcept;

### Remarks

The `generic_category` object is an implementation of [error_category](../standard-library/error-category-class.md).
The `generic_category` object is an implementation of [error_category](error-category-class.md).

## <a name="is_error_code_enum_v"></a> is_error_code_enum_v

A helper variable template for the [`is_error_code_enum`](is-error-code-enum-class.md) value.

```cpp
template <class T>
inline constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
```

## <a name="is_error_condition_enum_v"></a> is_error_condition_enum_v

A helper variable template for the [`is_error_condition_enum`](is-error-condition-enum-class.md) value.

```cpp
template <class T>
inline constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
```

## <a name="make_error_code"></a> make_error_code
Expand All @@ -51,8 +54,6 @@ The `std::errc` enumeration value to store in the error code object.

The error code object.

### Remarks

## <a name="make_error_condition"></a> make_error_condition

Creates an error condition object.
Expand All @@ -64,22 +65,20 @@ error_condition make_error_condition(std::errc error) noexcept;
### Parameters

*error*\
The `std::errc` enumeration value to store in the error code object.
The `std::errc` enumeration value to store in the error condition object.

### Return Value

The error condition object.

### Remarks

## <a name="system_category"></a> system_category

Represents the category for errors caused by low-level system overflows.
Represents the category for operating system errors.

```cpp
const error_category& system_category() noexcept;
```

### Remarks

The `system_category` object is an implementation of [error_category](../standard-library/error-category-class.md).
The `system_category` object is an implementation of [error_category](error-category-class.md).