![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <InstallerError.h>
Inheritance diagram for BuildPatchServices::IInstallerError:Public Types | |
| typedef TFunction< void()> | FOnErrorDelegate |
Public Member Functions | |
| virtual | ~IInstallerError () |
| virtual bool | HasError () const =0 |
| virtual bool | IsCancelled () const =0 |
| virtual bool | CanRetry () const =0 |
| virtual EBuildPatchInstallError | GetErrorType () const =0 |
| virtual FString | GetErrorCode () const =0 |
| virtual FText | GetErrorText () const =0 |
| virtual void | SetError (EBuildPatchInstallError ErrorType, const TCHAR *ErrorSubType, uint32 ErrorCode=0, FText ErrorText=FText::GetEmpty())=0 |
| virtual int32 | RegisterForErrors (FOnErrorDelegate Delegate)=0 |
| virtual void | UnregisterForErrors (int32 Handle)=0 |
| virtual void | Reset ()=0 |
An interface to fatal error implementation used to report an error or get informed of other errors occurring.
|
inlinevirtual |
Get whether the reported error is one which should be capable of recovering with an installation retry.
Implemented in BuildPatchServices::FInstallerError.
|
pure virtual |
Get the error code string for the error which has been reported.
Implemented in BuildPatchServices::FInstallerError.
Get the default display text for the error which has been reported.
Implemented in BuildPatchServices::FInstallerError.
|
pure virtual |
Get the enum value for the error which has been reported.
Implemented in BuildPatchServices::FInstallerError.
Get if there has been a fatal error reported.
Implemented in BuildPatchServices::FInstallerError.
Get whether an error reported is a cancellation request.
Implemented in BuildPatchServices::FInstallerError.
|
pure virtual |
Register a delegate to be called upon an error occurring.
| Delegate | The delegate to be executed on error. |
Implemented in BuildPatchServices::FInstallerError.
Reset internal state to be ready for a new process.
Implemented in BuildPatchServices::FInstallerError.
|
pure virtual |
Report a fatal error that has occurred which should cause other systems to abort.
| ErrorType | The enum value for the error. |
| ErrorSubType | The error sub type string for the error. |
| ErrorCode | The error code for the error. 0 means no additional information. |
| ErrorText | Optional specific error display text to use instead of the standard generic one. |
Implemented in BuildPatchServices::FInstallerError.
Unregister a delegate from being called upon an error occurring.
| Handle | The value that was returned RegisterForErrors for the delegate to be removed. |
Implemented in BuildPatchServices::FInstallerError.