Skip to content

Error

The abstract base type for all errors. All error types in std inherit from Error, so it can be used as a catch-all in typed catch handlers.

Error is not constructible directly.

Inherits

None (root error type).