C

<qul/errorcode.h> - Qt Quick Ultralite error codes

List of error codes reported by Qt Quick Ultralite. More...

Header: #include <qul/errorcode.h>

Types

enum QulError { QulError_Core, QulError_AlphaMap_PixelDataOffsetOutOfLimits, QulError_Animation_AnimationAlreadySet, QulError_Animation_AnimationListIsEmpty, QulError_Animation_FirstDependencyMismatch, …, QulError_Custom }

Functions

const char *errorCodeToString(QulError code)

Detailed Description

This header file contains a list of all error codes reported by Qt Quick Ultralite Core and Platform. It also contains a function to convert error code into string representation.

See also Error handling.

Type Documentation

enum QulError

This enum type specifies the error codes that Qt Quick Ultralite Core and Platform reports. First error code in a range begins with range start + 1. Qt Quick Ultralite Core reserves error code range 1-99999, while Qt Quick Ultralite Platform reserves range 100001-199999. Values from 200001 onwards are reserved for custom errors.

The param1, param2, and param3 in Description are integer variables that are reported to the error handler.

Note: The following table of error codes is only for Qt Quick Ultralite developers' error analysis. They should not be used to control application logic.

ConstantValueDescription
QulError_Core0Range start for Qt Quick Ultralite Core error codes.
QulError_AlphaMap_PixelDataOffsetOutOfLimits1Pixel data at offset X param1, Y param2 is not within the alpha map data.
QulError_Animation_AnimationAlreadySet2Parent object already contains an animation object.
QulError_Animation_AnimationListIsEmpty3Animation list is empty.
QulError_Animation_FirstDependencyMismatch4First dependency does not match the property data.
QulError_Animation_IsFirstDependency5First dependency already set.
QulError_Animation_ProgressOutOfRange6Interpolation of animation property failed because the progress value is out of the allowed range.
QulError_Animation_PropertyToValueIsNull7Applied to-value for the property is nullptr.
QulError_Application_ApplicationInstanceAlreadyExists8Instance for the application has been already created.
QulError_Application_ApplicationInstanceNotFound9Instance for the application not found when destructing it.
QulError_Application_GlobalStaticObjectsUninitialized10Startup script does not initialize global static objects.
QulError_Application_ItemHasNoScreen11Screen has not been set for the item.
QulError_Application_LayoutRecursionDetected12Application layout is causing recursive updates.
QulError_Application_RenderNodeNotFoundFromRootItem13Render node was not found from the root item when setting it for the application.
QulError_Array_SizeExceeded14The array capacity was exceeded. The element count is available as param1 and the capacity as param2.
QulError_Array_Empty15Tried to remove element from empty array.
QulError_Array_InvalidIndex16The array index param1 was out of bounds. The element count is available as param2.
QulError_BlendHelper_UnsupportedBitsPerPixel17Bits per pixel param1 is not supported with pixel format param2.
QulError_BlendHelper_UnsupportedPixelFormat18Unsupported pixel format for CPU based rendering. The value of the format is available as param1.
QulError_DependencyBase_InvalidInsertionTarget19Given node is invalid as an insertion target.
QulError_DirtyList_BindingLoop20A binding loop was detected.
QulError_DirtyList_LinkedListError21Linked list contains unexpected node.
QulError_DrawHelper_AlphaChannelNotSupportedInFormatConversion22Alpha channel is not supported in the pixel format conversion.
QulError_DrawHelper_BitsPerPixelMismatch23Texture bits per pixel param1 does not match layout bits per pixel param2.
QulError_DrawHelper_DestinationBitOffsetIsNotZero24Destination bit offset param1 is not zero.
QulError_DrawHelper_IncorrectScaleFactor25Incorrect scale factor. Value of delta X is available as param1 and value of fixed scale as param2.
QulError_DrawHelper_IntermediateBufferSizeTooSmall26Intermediate buffer size param1 is too small. Value of the count variable is available as param2.
QulError_DrawHelper_SourceBitOffsetIsNotZero27Source bit offset param1 is not zero.
QulError_DrawHelper_UnsupportedBlendType28Blend type param1 is not supported.
QulError_EventQueue_UnsupportedOverrunPolicy29Unsupported overrun policy. Value of the overrun policy is available as param1.
QulError_ExtraDataPointer_DataAlreadySet30Data has been already set.
QulError_FastFloat_Generic31Generic fast_float error.
QulError_FastFloat_LeadingZeroOfZero32Tried to get leading zeros of a zero.
QulError_FlagPointer_Invalid33FlagPointer is invalid.
QulError_FlagPointer_TypeInvalid34The FlagPointer points to a type different than expected.
QulError_FontEngine_InvalidX35X param1 is not within numeric limits param2.
QulError_FontEngine_InvalidY36Y param1 is not within numeric limits param2.
QulError_FontEngine_UnsupportedVectorOutlines37Font engine does not support vector outlines.
QulError_FontEngineSpark_BytesPerLineMismatch38Bytes per line param1 for alpha map does not match with bytes per line param2 for glyph map.
QulError_FontEngineSpark_ControlElementsNotSet39Vector outline control elements has not been set.
QulError_FontEngineSpark_InvalidControlElementCount40Vector outline control element count param1 is greater than max param2.
QulError_FontEngineSpark_InvalidSegmentTypeCount41Vector outline segment count param1 is greater than max param2.
QulError_FontEngineSpark_NativeGlyphMapDataNotSet42Native glyph map data has not been set.
QulError_FontEngineSpark_UnsupportedFontWeight43Unsupported font weight param1.
QulError_FontEngineSpark_UnsupportedMarginSize44Width including padding minus glyph map width is greater than 0xFF. Width including padding is available as param1 and glyph map width as param2.
QulError_FontEngineSpark_UnsupportedSegmentType45Unsupported vector segment type.
QulError_FontEngineSpark_SegmentTypesNotSet46Vector outline segment types has not been set.
QulError_FontEngineSpark_SparkStateNotSet47Spark state has not been set.
QulError_FontEngineSpark_VectorOutlineNotSet48Vector outline has not been set.
QulError_Glyph_InvalidIteratorState50The iterator is in invalid state.
QulError_Glyph_TextEndReached49Attempted to read next glyph when text is already at the end.
QulError_Glyph_IteratorIsNotIncremental51Glyph iterator type is not incremental.
QulError_Glyph_ParagraphChangedCallbackAlreadySet52Paragraph changed callback has been already set.
QulError_Glyph_ParagraphSizeIsZero53Paragraph size is zero.
QulError_Glyph_TextIsEmpty54Text has not been set.
QulError_Glyph_TextShaperNotSet55Text shaper has not been set.
QulError_Glyph_UnexpectedNullParagraph56Paragraph pointer is not set.
QulError_GraphicsDevice_DrawingEngineNotSet57Drawing engine has not been set.
QulError_GraphicsDevice_DestRectSizeIsNotSameAsSourceRectSize58Destination rectangle with width param1 and height param2 is different than source rectangle size.
QulError_GraphicsDevice_InvalidClipRectBottom59Clip rectangle bottom param1 is equal or bigger than buffer height param2.
QulError_GraphicsDevice_InvalidClipRectLeft60Clip rectangle left param1 is less than 0.
QulError_GraphicsDevice_InvalidClipRectRight61Clip rectangle right param1 is equal or bigger than buffer width param2.
QulError_GraphicsDevice_InvalidClipRectTop62Clip rectangle top param1 is less than 0.
QulError_GraphicsDevice_TextureMemoryAllocationFailed63Memory allocation failed for a texture with size of param1 KB.
QulError_GraphicsDevice_UnsupportedBitsPerPixel64Unsupported bits per pixel param1.
QulError_GraphicsDevice_UnsupportedRectSize65Unsupported rectangle size for scaling. Width is available as param1 and height as param2.
QulError_GraphicsDevice_UnsupportedTransformationMatrix66Unsupported transformation matrix for scaling.
QulError_GraphicsDevice_UnsupportedTransformationType67Unsupported transformation type for scaling. Value of the type is available as param1.
QulError_GraphicsDevice_VectorPathDataNotSet68Path data for the vector has not been set.
QulError_Image_CouldNotAlignMemory69Could not align memory for the image.
QulError_Image_InvalidAlignment70Invalid alignment for the image.
QulError_Image_InvalidTextureIndex71Invalid texture index. Texture index is available as param1 and number of textures as param2.
QulError_Image_MemoryAllocationFailed72Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Image_UnsupportedPixelFormat73Unsupported pixel format for an image. The value of the format is available as param1.
QulError_Image_PropertyNotFound74SharedImage property was not found when a value was unassigned from it.
QulError_Image_RefCountIsZero75Image reference count is zero and it is dereferenced.
QulError_ImageAsset_RasterBufferAllocationFailed76Memory allocation failed for the raster buffer.
QulError_ImageAsset_TextureAllocationFailed77Memory allocation failed for the texture.
QulError_ImageAsset_TexturePreloadAllocationFailed78Memory allocation failed for preloadable texture with size of param1 KB and allocation type param2.
QulError_ImageAsset_UnsupportedPixelFormat79Unsupported pixel format for a texture layout. The value of the format is available as param1.
QulError_ImageCache_MemoryAllocationFailed80Memory allocation failed. Allocation size in bytes is available as param1.
QulError_ImageCache_RuntimeAllocationTypeIndexOutOfRange81Runtime allocation type index param1 is less than zero or equal/greater than number of allocation types param2.
QulError_ImageCache_TextureDoesNotFitInCache82Texture with size of param1 KB does not fit into the cache with size param2 KB.
QulError_ImageDecodePng_MemoryAllocationFailed83Memory allocation failed during PNG decoding.
QulError_ImageLayer_SourceHasToBeASingleImage84ImageLayer.source contains more than one image. QUL_RESOURCE_SPLIT_IMAGE_OPTIMIZATION has to be disabled for the image in ImageLayer.
QulError_ImageProvider_InvalidImageProvider85Invalid image provider.
QulError_IntMath_UintLogZeroValue86Tried to calculate logarithm of zero.
QulError_ItemBase_ChildObjectAlreadyHasParentObject87Tried to append child object which already has a parent object.
QulError_ItemBase_LinkedListError88Linked list contains unexpected node.
QulError_ItemBase_InvalidAnchors89One of the anchor lines is missing. From-anchor validity is available as param1, to-anchor validity as param2 and mid-anchor validity as param3.
QulError_ItemBase_NotSiblingOrParent90Target item is neither sibling nor parent of the item.
QulError_ItemIterator_ChildObjectNotSet91Child object has not been set for the item iterator.
QulError_Keyframe_ToAndFromFramesAreSame92To-frame is same as from-frame.
QulError_LinkedList_InvalidHead93Linked list head is invalid.
QulError_LinkedListNode_AlreadyListMember94Node is already in a linked list.
QulError_LinkedListNode_InvalidPreviousNode95Linked list previous node is invalid.
QulError_LinkedListNode_InvalidNextNode96Linked list next node is invalid.
QulError_LodePNG_UnsupportedOutputPixelFormat97Unsupported output pixel format for LodePNG decoding. The value of the format is available as param1.
QulError_MemoryUtility_AllocationFailed98Memory allocation of param1 bytes with alignment param2 for allocation type param3 failed.
QulError_MonotypeUnicode_UnsupportedBidirectionalCharacterType99Unsupported bidirectional character type. The value of the type is available as param1.
QulError_Node_NoTransform100The node does not have a transform.
QulError_Optional_ValueNotSet101Tried to read optional value that has not been set.
QulError_Path_MemoryAllocationFailed102Memory allocation failed. Allocation size in bytes is available as param1 and number of elements as param2.
QulError_Path_UnexpectedPathElementType103Unexpected path element type.
QulError_Path_UnexpectedSvgPathCommandType104Unexpected SVG path command type param1. Type value has to be interpreted as 8-bit ASCII character.
QulError_Property_MemoryAllocationFailed105Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Property_UnexpectedBinding106Property has unexpected binding.
QulError_PropertyBase_DependencyNodesNotMarkedDirty107Dependency nodes of the property are not marked as dirty.
QulError_PropertyBase_FirstDependencyAlreadySet108First dependency has been already set.
QulError_PropertyBase_NoBinding109Property does not have a binding.
QulError_PropertyBinding_AliasNotSet110Property alias has not been set.
QulError_PropertyBinding_PropertyNotSet111Property has not been set.
QulError_QulAssumeWasIncorrect112False assumption expression was given to QUL_ASSUME.
QulError_QulUnreachableWasReached113Execution reached code that was marked with QUL_UNREACHABLE.
QulError_QulRccLookup_MemoryAllocationFailed114Memory allocation failed. Allocation size in bytes is available as param1.
QulError_QulRccLookup_UnexpectedUrlLength115Unexpected URL length param1 with buffer size param2.
QulError_QulRccLookup_UnexpectedUrlPrefix116Unexpected URL prefix. Number of available characters is available as param1 and maximum length as param2.
QulError_Rasterizer_LineWidthIsZero117Width of the rasterized line is zero.
QulError_Rasterizer_SpanXGreaterThanClipRectRight118Span X param1 + length param2 - 1 is greater than clip rectangle right param3.
QulError_Rasterizer_SpanXLessThanClipRectLeft119Span X param1 is less than clip rectangle left param2.
QulError_Rasterizer_SpanYGreaterThanClipRectBottom120Span Y param1 is greater than clip rectangle bottom param2.
QulError_Rasterizer_SpanYLessThanClipRectTop121Span Y param1 is less than clip rectangle top param2.
QulError_Region_InvalidBottom122Bottom of the region is invalid.
QulError_Region_InvalidRow123Row of the region is invalid.
QulError_Region_InvalidTop124Top of the region is invalid.
QulError_Region_NodeIsRowHead125Node is the row head.
QulError_Region_NodeIsRowTail126Node is the row tail.
QulError_Region_UnexpectedNextNode127Unexpected next node in the list.
QulError_Region_UnexpectedPrevNode128Unexpected previous node in the list.
QulError_Region_RowTailNotSet129Row tail has not been set.
QulError_RenderTree_NodeIsOpaque130Rendering region of the node is opaque.
QulError_RenderTree_NodeSplitFailed131Render node split failed.
QulError_RenderTree_UnexpectedNodeType132Unexpected type for the parent node. The value of the type is available as param1.
QulError_Rle_InsufficientBufferSize133The image does not fit to RLE buffers.
QulError_Rle_InvalidBufferCount134Invalid buffer count param1.
QulError_Rle_InvalidPitch135Invalid pitch. The value of bytes per line is available as param1 and bytes per pixel as param2.
QulError_Rle_UnsupportedPixelFormat136Unsupported pixel format. The value of the format is available as param1.
QulError_Rle_UnsupportedRleFormat137Unsupported RLE format. The value of the format is available as param1.
QulError_Shape_DrawingEngineNotSet138Drawing engine has not been set.
QulError_Shape_ShapeNotSet139Shape has not been set.
QulError_Shape_UnsupportedLineCapStyle140Unsupported line cap style param1.
QulError_Shape_UnsupportedLineJoinStyle141Unsupported line join style param1.
QulError_Size_DivisionByZero142Tried to divide size by zero.
QulError_SparkTextBoundaryFinder_UnsupportedMethod143Unsupported method.
QulError_SparkTextShaper_BidirectionalInfoNotSet144Info about text bidirectionality has not been set.
QulError_SparkTextShaper_GlyphInfoNotInitialized145Glyph info has not been initialized.
QulError_SparkTextShaper_InvalidGlyphPosition146Glyph info position param1 is less than zero or greater than text info length param2.
QulError_SparkTextShaper_InvalidParagraphSize147Paragraph size param1 is greater than text size param2.
QulError_SparkTextShaper_InvalidStartPosition148Start position param1 is greater than text length param2.
QulError_SparkTextShaper_ShaperInstanceAlreadyExists149Instance for the shaper has been already created.
QulError_SparkTextShaper_TextBaseLevelNotSet150Text base level has not been set.
QulError_SparkTextShaper_UnexpectedShapingResult151Unexpected value returned from the shaping engine.
QulError_SparkTextShaper_InvalidState152The shaper is not in valid state.
QulError_MonotypeUnicode_WrongCallContext153The function call is not intended for this configuration.
QulError_CharBuffer_InvalidState154The buffer is not in valid state.
QulError_CharBuffer_IndexOutOfRange155Index is not at valid position in the current paragraph.
QulError_CharBuffer_InvalidParagraphForContext156Paragraph with content that is not intended for this context.
QulError_StaticTextItem_OffsetNotSet157Offset has not been set.
QulError_SwipeView_ContentItemIsNotFlickable158Content item for the swipe view is not flickable.
QulError_TextBoundaryFinder_TextBoundaryFinderNotSet159Text boundary finder has not been set.
QulError_TextBoundaryFinder_UnsupportedBoundaryType160Unsupported boundary type param1.
QulError_TextCache_BitsPerPixelMismatch161Bits per pixel param2 for alpha map does not match with bits per pixel param1 of the rendering target.
QulError_TextCache_MemoryAllocatorNotFound162Memory allocator not found for allocation type param1.
QulError_TextCache_IncorrectOffsetAlignment163Bit offset does not match between source and destination.
QulError_TextCache_UnexpectedAlphaMap164Unexpected alpha map in a vector based text element.
QulError_TextCache_UnexpectedPathSegmentType165Unexpected vector path segment type in a vector based text element.
QulError_TextCache_UnsupportedAlphaMapFormat166Unsupported bit per pixel param1 for text alpha map rendering.
QulError_TextElideHandler_FontEngineNotSet167The font engine has not been set.
QulError_TextElideHandler_InvalidElideMode168Invalid text elide mode. The value of the mode is available as param1.
QulError_TextElideHandler_InvalidItemWidth169Invalid item width.
QulError_TextElideHandler_InvalidState170Invalid internal state.
QulError_TextWrapHandler_TextIsNotAtStartPosition171Attempting to auto wrap text from unsupported location.
QulError_TextEngine_PositionsAlreadySet172Paragraph info positions has been already set.
QulError_TextEngine_InvalidGlyphInfoIndex173Invalid glyph info index. The value of the index is available as param1 and glyph count as param2.
QulError_TextEngine_UnicodeEngineNotSet174The Unicode Engine pointer is expected to contain value.
QulError_TextLayout_InvalidIndexingType175Invalid indexing type. The value of the type is available as param1.
QulError_TextLayout_InvalidLineOffset176Invalid line offset. The value of the offset is available as param1.
QulError_TextLayout_IndexingTypeOffsetNotSet177Indexing type offset has not been set.
QulError_TextMetrics_InvalidBottomRightX178Invalid bottom right X. The value of the X is available as param1.
QulError_TextMetrics_InvalidBottomRightY179Invalid bottom right Y. The value of the Y is available as param1.
QulError_TextShaper_GlyphIteratorNotIncremental180Glyph iterator is not incremental.
QulError_TextShaper_MasterIteratorAlreadySet181Master iterator has been already set.
QulError_TextShaper_MasterIteratorNotSet182Master iterator has not been set.
QulError_Texture_LayoutNotSet183Layout is missing from texture.
QulError_Timer_AlreadyRunning184Added timer is already running.
QulError_Timer_DuplicateElement185Timer is already in the list.
QulError_Timer_NextActiveTimerAlreadySet186Next active timer has been already set.
QulError_TimerItem_NextActiveTimerAlreadySet187Next active timer has been already set.
QulError_Transforms_TargetItemNotSet188Target item has not been set for the transformation.
QulError_UnicodeString_ColorNameDoesNotContainAString189Color name does not contain a string.
QulError_UnicodeString_InvalidCharacter190Character is not valid UTF-8.
QulError_UnicodeString_InvalidPosition191Position param1 is less than zero or greater than string length param2.
QulError_UnicodeString_InvalidStringFormat192Unicode string format is invalid. The value of the format is available as param1.
QulError_UnicodeString_InvalidFormattedNumberString193Number string is in invalid format.
QulError_UnicodeString_MemoryAllocationFailed194Memory allocation failed. Allocation size in bytes is available as param1.
QulError_UnicodeString_UnsupportedStringFormat195Unsupported string format.
QulError_UnicodeString_StringHasNoNextElement196Next character requested at the end of the string.
QulError_MonoType_Generic197Generic MonoType error.
QulError_Core_End198Range end for Qt Quick Ultralite Core error codes.
QulError_Platform100000Range start for Qt Quick Ultralite Platform error codes.
QulError_Bezier_EmptyCurve100001No segments in a curve.
QulError_Bezier_InvalidArgument100002An invalid argument was used.
QulError_Bezier_TooManySegments100003Too many segments in a curve. Number of the segments is available as param1.
QulError_Brush_UnsupportedPattern100004The operation does not support pattern param1.
QulError_BufferData_AlreadyAllocated100005Tried to allocate already allocated buffer.
QulError_BufferData_InvalidDeallocation100006Tried to deallocate unallocated buffer.
QulError_BufferData_MemoryAllocationFailed100007Memory allocation failed. Allocation size in bytes is available as param1.
QulError_CircularBuffer_MemoryAllocationFailed100008Memory allocation failed. Allocation size in bytes is available as param1.
QulError_CircularBuffer_PopEmpty100009Tried to remove entry from empty buffer.
QulError_Cygfxbackend_MemoryAllocationFailed100010Memory allocation failed. Allocation size in bytes is available as param1.
QulError_DrawingDevice_InvalidCoordinate100011Given coordinate does not match the device. The value of X is available as param1 and Y as param2.
QulError_DrawingDevice_InvalidPitch100012Invalid pitch. The value of bytes per line is available as param1.
QulError_DrawingDevice_InvalidSize100013Invalid size. The value of width is available as param1 and height as param2.
QulError_DrawingEngine_InvalidBuffer100014An invalid buffer used for drawing.
QulError_DrawingEngine_InvalidScreen100015Requested screen does not exist.
QulError_DrawingEngine_MissingFallback100016Missing implementation for fallback drawing engine.
QulError_DrawingEngine_SurfaceAllocationFailed100017Failed to allocate off screen surface.
QulError_DrawingEngine_UnsupportedBlendMode100018Unsupported blend mode. The value of the blend mode is available as param1.
QulError_DrawingEngine_UnsupportedPixelFormat100019Unsupported pixel format. The value of the format is available as param1.
QulError_FixedSizeBlockHeap_FreeIndexOutOfRange100020Freed memory does not belong to the FixedSizeBlockHeap.
QulError_FixedSizeBlockHeap_SizeIndexOutOfRange100021The provided address does not belong to FixedSizeBlockHeap.
QulError_GenericMatrix_IndexOutOfRange100022Row or column outside matrix bounds.
QulError_GraphicsDriver_UnsupportedAlignment100023Unsupported image alignment. Alignment must be param1 bytes. Alignment is configured with QUL_RESOURCE_ALIGNMENT.
QulError_GraphicsDriver_UnsupportedColorDepth100024Unsupported color depth. The value of the color depth is available as param1.
QulError_GraphicsDriver_UnsupportedFramebufferAlignment100025Unsupported framebuffer alignment. Alignment must be param1 bytes.
QulError_GraphicsDriver_UnsupportedPixelFormat100026Unsupported pixel format. The value of the format is available as param1.
QulError_LayerEngine_EmptyColorTable100027The color table of an indexed color is empty.
QulError_LayerEngine_InvalidLayerIndex100028Invalid layer index. The value of the index is available as param1.
QulError_LayerEngine_MissingSpriteLayer100029Sprite layer has not been set.
QulError_LayerEngine_MixedColorDepthNotSupportedInSpriteLayer100030All image layers and item layers inside a SpriteLayer must have the same color depth. The value of the sprite format is available as param1 and layer format as param2.
QulError_LayerEngine_RuntimeColorDepthChangeNotSupported100031Platform doesn't support runtime layer color depth changes.
QulError_LayerEngine_SpriteNotWithinSpriteLayer100032Sprite coordinates are not within sprite layer. The value of the X is available as param1 and Y as param2.
QulError_LayerEngine_UnsupportedAlignment100033Unsupported image alignment. Alignment must be param1 bytes. Alignment is configured with QUL_RESOURCE_ALIGNMENT.
QulError_LayerEngine_UnsupportedColorDepth100034Unsupported color depth. The value of the color depth is available as param1.
QulError_LayerEngine_UnsupportedPerScanlinePadding100035Unsupported per-scanline padding.
QulError_LayerEngine_UnsupportedPitch100036Unsupported image pitch. Width alignment must be param bytes. Alignment is configured with QUL_RESOURCE_ALIGNMENT.
QulError_LayerEngine_UnsupportedPixelFormat100037Unsupported pixel format. The value of the format is available as param1.
QulError_Lcdifv2Layer_DisplayControllerInitializationFailed100038Lcdifv2 engine failed to initialize display controller.
QulError_Lcdifv2Layer_LayerAllocationFailed100039Lcdifv2 layer memory allocation failed.
QulError_Lcdifv2Layer_LayerCountExceeded100040Lcdifv2 layers count exceeded.
QulError_Lcdifv2Layer_LayerNotSet100041Lcdifv2 layer has not been set.
QulError_Lcdifv2Layer_UnsupportedPixelFormat100042Unsupported pixel format for Lcdifv2. The value of the format is available as param1.
QulError_LruCache_SizeExceeded100043The cache size was exceeded.
QulError_MemoryAllocator_InvalidArgument100044An invalid argument was used.
QulError_MessageQueue_MessageTooLong100045The message size of the requested queue is larger than what the system's queue is able to hold.
QulError_MessageQueue_RequestFailed100046The system failed to provide a new queue.
QulError_PathData_InvalidSize100047Ill formed path data. The value of the size is available as param1.
QulError_PathData_SegmentOutOfRange100048Tried to access segment at index param1 of a path that has param2 segments.
QulError_PathData_SizeOverflow100049Integer overflow in path size. The value of the size is available as param1.
QulError_PathData_UnknownSegmentType100050The path contains an unknown segment of type param1.
QulError_PathDataIterator_NextSegmentDoesNotExist100051Failed to access next segment in the path.
QulError_PathDataIterator_UnexpectedSegmentType100052Unexpected segment type for the operation. The value of the type is available as param1.
QulError_PathDataSegment_SegmentIndexOutOfRange100053The segment index is invalid. The value of the index is available as param1 and segment count as param2.
QulError_PathDataSegment_UnexpectedControlElementCount100054Unexpected control element count. Element index is available as param1, total element count as param2 and the type of the path as param3.
QulError_PathDataStroker_InvalidArc100055Unable to stroke the arc from given data.
QulError_PathDataStroker_UnknownCapStyle100056Unknown cap style. The value of the style is available as param1.
QulError_PathDataStroker_UnknownJoinStyle100057Unknown join style. The value of the style is available as param1.
QulError_PerformanceLogging_InvalidStackRange100058Invalid stack range.
QulError_Platform_ExecImplementationMissing100059The implementation for Qul::Platform::PlatformContext::exec is missing.
QulError_PreloadAllocator_UnsupportedOperation100060Unsupported operation on the PreloadAllocator.
QulError_Ram_InitializationFailed100061Initialization of the RAM failed.
QulError_ResourceStorageSection_LoadFailed100062Loading of the resource storage section failed.
QulError_Rh850_CdiError100063Renesas RH850 CDI error. The value of the return code is available as param1. The return code value has to be interpreted as uint32_t.
QulError_Rh850_Drw2dError100064Renesas RH850 DRW2D error. The value of the return code is available as param1. The return code value has to be interpreted as r_drw2d_Error_t.
QulError_Rh850_WmError100065Renesas RH850 WM error. The value of the return code is available as param1. The return code value has to be interpreted as r_wm_Error_t.
QulError_Screen_UnsupportedDisplayColorFormat100066Unsupported display color format. The value of the format is available as param1.
QulError_Texture_InvalidCoordinate100067Pixel coordinate out of bounds. The value of X is available as param1 and Y as param2.
QulError_Texture_UnsupportedPixelFormat100068Unsupported pixel format. The value of the format is available as param1.
QulError_TouchDriver_InitializationFailed100069Initialization of the touch driver failed.
QulError_Vglite_DrawingBufferNotSet100070Drawing buffer for VGLite has not been set.
QulError_Platform_End100071Range end for Qt Quick Ultralite Platform error codes.
QulError_Custom200000Range start for custom error codes.

Function Documentation

[since Qt Quick Ultralite 2.2] const char *errorCodeToString(QulError code)

Returns a pointer to C-string representation of the error code.

On debug build, the function returns a string representation for error range start values and error codes in the Core and Platform range. On release build, it returns a string representation for error range start values and empty string for the rest of error code values.

Note: Returns an empty string for error codes in the Custom range.

This function was introduced in Qt Quick Ultralite 2.2.

See also Qul::PlatformInterface::error and Error handling.

Available under certain Qt licenses.
Find out more.