
A condition (message, warning, or error) that occurred while orchestrating a future
Source:R/protected_api-FutureCondition-class.R
, R/protected_api-journal.R
FutureCondition.Rd
While orchestrating (creating, launching, querying, collection) futures, unexpected run-time errors (and other types of conditions) may occur. Such conditions are coerced to a corresponding FutureCondition class to help distinguish them from conditions that occur due to the evaluation of the future.
Usage
FutureCondition(message, call = NULL, uuid = future[["uuid"]], future = NULL)
FutureMessage(message, call = NULL, uuid = future[["uuid"]], future = NULL)
FutureWarning(message, call = NULL, uuid = future[["uuid"]], future = NULL)
FutureError(message, call = NULL, uuid = future[["uuid"]], future = NULL)
RngFutureCondition(
message = NULL,
call = NULL,
uuid = future[["uuid"]],
future = NULL
)
RngFutureWarning(...)
RngFutureError(...)
UnexpectedFutureResultError(future, hint = NULL)
GlobalEnvMisuseFutureCondition(
message = NULL,
call = NULL,
differences = NULL,
uuid = future[["uuid"]],
future = NULL
)
GlobalEnvMisuseFutureWarning(...)
GlobalEnvMisuseFutureError(...)
ConnectionMisuseFutureCondition(
message = NULL,
call = NULL,
differences = NULL,
uuid = future[["uuid"]],
future = NULL
)
ConnectionMisuseFutureWarning(...)
ConnectionMisuseFutureError(...)
DeviceMisuseFutureCondition(
message = NULL,
call = NULL,
differences = NULL,
uuid = future[["uuid"]],
future = NULL
)
DeviceMisuseFutureWarning(...)
DeviceMisuseFutureError(...)
FutureLaunchError(..., future = NULL)
FutureInterruptError(..., future = NULL)
FutureDroppedError(..., future = NULL)
FutureJournalCondition(
message,
journal,
call = NULL,
uuid = future[["uuid"]],
future = NULL
)
Arguments
- message
A message condition.
- call
The call stack that led up to the condition.
- uuid
A universally unique identifier for the future associated with this FutureCondition.
- future
The Future involved.
- hint
(optional) A string with a suggestion on what might be wrong.