Represents a failed operation with error details.
A human-readable description of the error.
HTTP status code or other numeric error code, if applicable.
The original exception that caused the error, if available.
Maps a result of any type to a result with a Unit payload, preserving success/error status.
Maps an Error of one generic type to an Error of another generic type.