# fit::error

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1ab4af186e563af8dc250429499564c8e2(Args &&... args)` ||
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1af35db4dccc7a12d6192e846082f286fc(const https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error &)` ||
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1ac693f111257d6e147480c6a78f2108d2(https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error &&)` ||
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1a62707035ea6ef40e1143e725987a3102()` ||

| ### Public types ||
|---|---|
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1a12cf4b78c1c67854e10afc2654ed9b32` | using `E` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1af964175808c1ba5b2b44df5a9d95dfd0(const https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error &)=default` | `constexpr https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error &` |
| `https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error_1a92803b38d29a36905e241e6263ce063e(https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error &&)=default` | `constexpr https://fuchsia.dev/reference/cpp/other/singletonfit/error#singletonfit_1_1error &` |

## Public types

### error_type

```c++
E error_type
```

## Public functions

### error

```c++
constexpr error(
  Args &&... args
)
```

### error

```c++
constexpr error(
  const error &
)=default
```

### error

```c++
constexpr error(
  error &&
)=default
```

### operator=

```c++
constexpr error & operator=(
  const error &
)=default
```

### operator=

```c++
constexpr error & operator=(
  error &&
)=default
```

### \~error

```c++
 ~error()=default
```