Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FCookDependencyContext
Description
Add a function that will be removed when the return value goes out of scope, to modify error strings reported inside the scope before passing them on to higher scopes or the error consumer. e.g. FCookDependencyContext::FErrorHandlerScope Scope = Context.ErrorHandlerScope([FString](API/Runtime/Core/FString)&& Inner { return FString::Printf(TEXT("OuterClass for %s: %s"), *Name, *Inner);});
| Name | ErrorHandlerScope |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookDependencyContext.h |
| Include Path | #include "Cooker/CookDependencyContext.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Cooker/CookDependencyContext.cpp |
FErrorHandlerScope ErrorHandlerScope
(
TUniqueFunction < FString &&)> && ErrorHandler
)