-
Notifications
You must be signed in to change notification settings - Fork 13
Error Handling
This category contains functions for handling errors. More...
| Type | Name |
|---|---|
| fpl_common_api void |
fplErrorsClear (void) Clears all the current errors in the platform. |
| fpl_common_api const char * |
fplGetErrorByIndex (const size_t index) Gets the last error string from the given index. |
| fpl_common_api size_t |
fplGetErrorCount (void) Gets the count of total last errors. |
| fpl_common_api const char * |
fplGetLastError (void) Gets the last internal error string. |
This category contains functions for handling errors.
fpl_common_api void fplErrorsClear ( void )Clears all the current errors in the platform.
Note: This function can be called regardless of the initialization state!
See also: Clearing the errors
fpl_common_api const char * fplGetErrorByIndex ( const size_t index)Gets the last error string from the given index.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | index | The index of the error. |
Returns: Returns the last error string from the given index or an empty string when there was no error.
Note: This function can be called regardless of the initialization state!
See also: Get error by index
fpl_common_api size_t fplGetErrorCount ( void )Gets the count of total last errors.
Returns: Returns the number of last errors or zero when there was no error.
Note: This function can be called regardless of the initialization state!
See also: Was there an error?
fpl_common_api const char * fplGetLastError ( void )Gets the last internal error string.
Returns: Returns the last error string or an empty string when there was no error.
Note: This function can be called regardless of the initialization state!
See also: Get latest error
- Assertion & Debug
- Atomic operations
- Audio functions
- Clipboard functions
- Console functions
- Constants
- Display/Monitor functions
- Dynamic library loading
- Error Handling
- Files/IO functions
- Function macros
- Hardware Infos
- Input types and functions
- Localization functions
- Logging
- Memory Macros
- Memory functions
- Operating system Infos
- Path functions
- Platform functions
- Session Infos
- Settings & Configurations
- Storage class identifiers
- String functions
- Threading and synchronizations routines
- Timing functions
- Video functions
- Window events
- Window functions
- fplARMCPUCapabilities
- fplAudioChannelMap
- fplAudioDeviceID
- fplAudioDeviceInfo
- fplAudioFormat
- fplAudioSettings
- fplColor32
- fplConditionVariable
- fplConsoleSettings
- fplCPUCapabilities
- fplCPUIDLeaf
- fplDateTime
- fplDateTimeCreationResult
- fplDateTimeResult
- fplDisplayInfo
- fplDisplayMode
- fplDynamicLibraryHandle
- fplEndianess
- fplEvent
- fplFileEntry
- fplFileHandle
- fplFilePermissions
- fplFileTimeStamps
- fplGamepadButton
- fplGamepadData
- fplGamepadEvent
- fplGamepadInfo
- fplGamepadInputBinding
- fplGamepadMapping
- fplGamepadSettings
- fplGamepadState
- fplGamepadStates
- fplGraphicsApiSettings
- fplImageSource
- fplInputBackendMask
- fplInputBackendSupport
- fplInputDevice
- fplInputDeviceGuid
- fplInputSettings
- fplInternalConditionVariable
- fplInternalDynamicLibraryHandle
- fplInternalFileEntryHandle
- fplInternalFileHandle
- fplInternalFileRootInfo
- fplInternalMutexHandle
- fplInternalSemaphoreHandle
- fplInternalSignalHandle
- fplInternalThreadHandle
- fplKeyboardEvent
- fplKeyboardState
- fplLogSettings
- fplLogWriter
- fplLogWriterConsole
- fplLogWriterCustom
- fplMemoryAllocationSettings
- fplMemoryBlock
- fplMemoryInfos
- fplMemorySettings
- fplMouseEvent
- fplMouseState
- fplMutexHandle
- fplOpenGLSettings
- fplOSVersionInfos
- fplSemaphoreHandle
- fplSettings
- fplSignalHandle
- fplSpecificAudioSettings
- fplThreadHandle
- fplThreadParameters
- fplTimestamp
- fplVersionInfo
- fplVideoBackBuffer
- fplVideoRect
- fplVideoRequirements
- fplVideoRequirementsVulkan
- fplVideoSettings
- fplVideoSurface
- fplVideoSurfaceOpenGL
- fplVideoSurfaceVulkan
- fplVideoWindow
- fplVulkanSettings
- fplWindowCallbacks
- fplWindowDropFiles
- fplWindowEvent
- fplWindowPosition
- fplWindowSettings
- fplWindowSize
- fplX86CPUCapabilities