Represents an error state with optional data and an error.
The type of data.
The optional data result of the operation.
The error that occurred during the operation.