GitHub    Download    Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
UDomain
UStorage
AbortActionGroup
AddClass
ClassAddRef
ClassAddRefById
ClassRelease
ClassReleaseById
Close
Create
CreateActionGroup
CreateWaitObject
DestroyActionGroup
DestroyWaitObject
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetLastError
GetSchema
InsertNamedObject
Load
Open
RegisterEventClient
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup

UStorage.GetLastError

Returns the last error object and value that occurred when reading or writing.

Syntax

void GetLastError(
out ObjectId p_poiObjectId,
out int p_phrLastError
);

Parameter

p_poiObjectId
Type: out ObjectId
Variable that receives the ObjectId of the last object that caused an error.
p_phrLastError
Type: out int
Variable that receives the error code of the last error.

Return value

This function has no return value.
© 2022 Mobiland AG