Represents a function that returns a Result.
The function type.
The type of the error. Cannot be nullish.
Represents a function that returns a Result.