A functional interface representing a failure callback that takes a Throwable as the result.
Invokes the callback with the provided result.