Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStreamableManager
Description
Creates a canceled handle with an error set. Does not do any loading. Does not manage the handle. Useful in situations where a handle needs to be returned with an error without starting an actual load occuring.
| Name | CreateErrorHandle |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
| Include Path | #include "Engine/StreamableManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StreamableManager.cpp |
TSharedPtr < FStreamableHandle > CreateErrorHandle
(
UE::UnifiedError::FError && Error,
FStreamableAsyncLoadParams && Params,
FString DebugName,
UE::FSourceLocation Location
)
Parameters
| Name | Remarks |
|---|---|
| Error | The error to set on the handle |
| Params | Load Parameters |
| DownloadParams | Additional Parameters to control downloading |
| DebugName | [optional] Name of this handle, will be reported in debug tools |
| Location | [optional] Is not intended for direct use, the parameter catches call site source location. That location is used for debug tools output. |