Represents a result that can be either successful or an error.
The type of the value in case of success.
The type of the error in case of failure. Cannot be nullish.
Represents a result that can be either successful or an error.