class Concurrent::Agent

def error

Returns:
  • (nil, Error) - the error which caused the failure when {#failed?}
def error
  @error.value
end