error

open override fun error(): Exception?

Returns the error associated. In case of Success, error will be null.