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_Allocator_MemoryAllocationFailed, QulError_AlphaMap_PixelDataOffsetOutOfLimits, QulError_Animation_AnimationAlreadySet, QulError_Animation_AnimationListIsEmpty, …, 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.
Note: Some of the error codes are only available in debug build. The error description mentions if it is available only in debug build. To enable all error checks, Qt Quick Ultralite Core and Platform needs to be rebuilt in debug build config.
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.
Constant | Value | Description |
---|---|---|
QulError_Core | 0 | Range start for Qt Quick Ultralite Core error codes. |
QulError_Allocator_MemoryAllocationFailed | 1 | Memory allocation failed with size of param1 bytes. |
QulError_AlphaMap_PixelDataOffsetOutOfLimits | 2 | Pixel data at offset X param1 , Y param2 is not within the alpha map data. This error code is only available in debug builds. |
QulError_Animation_AnimationAlreadySet | 3 | Parent object already contains an animation object. This error code is only available in debug builds. |
QulError_Animation_AnimationListIsEmpty | 4 | Animation list is empty. |
QulError_Animation_FirstDependencyMismatch | 5 | First dependency does not match the property data. This error code is only available in debug builds. |
QulError_Animation_IsFirstDependency | 6 | First dependency already set. This error code is only available in debug builds. |
QulError_Animation_ProgressOutOfRange | 7 | Interpolation of animation property failed because the progress value is out of the allowed range. |
QulError_Animation_PropertyToValueIsNull | 8 | Applied to-value for the property is NULL . This error code is only available in debug builds. |
QulError_Application_ApplicationInstanceAlreadyExists | 9 | Instance for the application has been already created. |
QulError_Application_ApplicationInstanceNotFound | 10 | Instance for the application not found when destructing it. |
QulError_Application_GlobalStaticObjectsUninitialized | 11 | Startup script does not initialize global static objects. |
QulError_Application_ItemHasNoScreen | 12 | Screen has not been set for the item. |
QulError_Application_LayoutRecursionDetected | 13 | Application layout is causing recursive updates. |
QulError_Application_PartialBufferPixelCountIsZero | 14 | Partial buffer pixel count is zero. Return valid pixel count from Qul::Platform::PlatformContext::partialBufferPixelCount. |
QulError_Application_PartialDirtyRegionHeightIsZero | 15 | Partial dirty region height is zero. Qul::Platform::PlatformContext::partialBufferPixelCount must be at least as big as width of the layer. |
QulError_Application_RenderNodeNotFoundFromRootItem | 16 | Render node was not found from the root item when setting it for the application. |
QulError_Array_SizeExceeded | 17 | The array capacity was exceeded. The element count is available as param1 and the capacity as param2 . This error code is only available in debug builds. |
QulError_Array_Empty | 18 | Tried to remove element from empty array. |
QulError_Array_InvalidIndex | 19 | The array index param1 was out of bounds. The element count is available as param2 . This error code is only available in debug builds. |
QulError_Array_EmptyFixedLengthArray | 20 | A fixed length array with zero elements can not be created. |
QulError_BlendHelper_UnsupportedBitsPerPixel | 21 | Bits per pixel param1 is not supported with pixel format param2 . |
QulError_BlendHelper_UnsupportedPixelFormat | 22 | Unsupported pixel format for CPU based rendering. The value of the format is available as param1 . |
QulError_BlendTransformed_UnsupportedPixelFormat | 23 | Unsupported pixel format for CPU based rendering. The value of the format is available as param1 . |
QulError_DependencyBase_InvalidInsertionTarget | 24 | Given node is invalid as an insertion target. This error code is only available in debug builds. |
QulError_DeviceLink_UnsupportedMessageType | 25 | Unsupported message type in device information exchange protocol. The value of the message type is available as param1 . |
QulError_DirtyList_BindingLoop | 26 | A binding loop was detected. |
QulError_BindingBase_BindingLoop | 27 | A binding loop was detected. |
QulError_DirtyList_LinkedListError | 28 | Linked list contains unexpected node. This error code is only available in debug builds. |
QulError_DrawHelper_AlphaChannelNotSupportedInFormatConversion | 29 | Alpha channel is not supported in the pixel format conversion. Deprecated from Qt Quick Ultralite v2.5.0. |
QulError_DrawHelper_BitsPerPixelMismatch | 30 | Texture bits per pixel param1 does not match layout bits per pixel param2 . This error code is only available in debug builds. |
QulError_DrawHelper_DestinationBitOffsetIsNotZero | 31 | Destination bit offset param1 is not zero. This error code is only available in debug builds. |
QulError_DrawHelper_IncorrectScaleFactor | 32 | Incorrect scale factor. Value of delta X is available as param1 and value of fixed scale as param2 . This error code is only available in debug builds. |
QulError_DrawHelper_IntermediateBufferSizeTooSmall | 33 | Intermediate buffer size param1 is too small. Value of the count variable is available as param2 . This error code is only available in debug builds. |
QulError_DrawHelper_SourceBitOffsetIsNotZero | 34 | Source bit offset param1 is not zero. This error code is only available in debug builds |
QulError_DrawHelper_UnsupportedBlendType | 35 | Blend type param1 is not supported. This error code is only available in debug builds. |
QulError_EventQueue_UnsupportedOverrunPolicy | 36 | Unsupported overrun policy. Value of the overrun policy is available as param1 . |
QulError_ExtraDataPointer_DataAlreadySet | 37 | Data has been already set. This error code is only available in debug builds. |
QulError_ExtraDataPointer_MemoryAllocationFailed | 38 | Extra data pointer memory allocation failed. |
QulError_FastFloat_Generic | 39 | Generic fast_float error. |
QulError_FastFloat_LeadingZeroOfZero | 40 | Tried to get leading zeros of a zero. |
QulError_FlagPointer_Invalid | 41 | FlagPointer is invalid. This error code is only available in debug builds. |
QulError_FlagPointer_TypeInvalid | 42 | The FlagPointer points to a type different than expected. This error code is only available in debug builds. |
QulError_FontEngine_InvalidX | 43 | X param1 is not within numeric limits param2 . |
QulError_FontEngine_InvalidY | 44 | Y param1 is not within numeric limits param2 . |
QulError_FontEngine_UnsupportedVectorOutlines | 45 | Font engine does not support vector outlines. |
QulError_FontEngineSpark_BytesPerLineMismatch | 46 | Bytes per line param1 for alpha map does not match with bytes per line param2 for glyph map. This error code is only available in debug builds. |
QulError_FontEngineSpark_ControlElementsNotSet | 47 | Vector outline control elements has not been set. |
QulError_FontEngineSpark_InvalidControlElementCount | 48 | Vector outline control element count param1 is greater than max param2 . |
QulError_FontEngineSpark_InvalidSegmentTypeCount | 49 | Vector outline segment count param1 is greater than max param2 . |
QulError_FontEngineSpark_NativeGlyphMapDataNotSet | 50 | Native glyph map data has not been set. |
QulError_FontEngineSpark_UnsupportedFontWeight | 51 | Unsupported font weight param1 . |
QulError_FontEngineSpark_UnsupportedMarginSize | 52 | Width including padding minus glyph map width is greater than 0xFF. Width including padding is available as param1 and glyph map width as param2 . This error code is only available in debug builds. |
QulError_FontEngineSpark_UnsupportedSegmentType | 53 | Unsupported vector segment type. |
QulError_FontEngineSpark_SegmentTypesNotSet | 54 | Vector outline segment types has not been set. |
QulError_FontEngineSpark_SparkStateNotSet | 55 | Spark state has not been set. |
QulError_FontEngineSpark_VectorOutlineNotSet | 56 | Vector outline has not been set. |
QulError_FreeTypeRasterizer_UnsupportedPixelFormat | 100029 | Unsupported pixel format. The value of the format is available as param1 . |
QulError_Glyph_InvalidIteratorState | 58 | The iterator is in invalid state. This error code is only available in debug builds. |
QulError_Glyph_TextEndReached | 57 | Attempted to read next glyph when text is already at the end. This error code is only available in debug builds. |
QulError_Glyph_IteratorIsNotIncremental | 59 | Glyph iterator type is not incremental. This error code is only available in debug builds. |
QulError_Glyph_ParagraphChangedCallbackAlreadySet | 60 | Paragraph changed callback has been already set. This error code is only available in debug builds. |
QulError_Glyph_ParagraphSizeIsZero | 61 | Paragraph size is zero. This error code is only available in debug builds. |
QulError_Glyph_TextIsEmpty | 62 | Text has not been set. This error code is only available in debug builds. |
QulError_Glyph_TextShaperNotSet | 63 | Text shaper has not been set. This error code is only available in debug builds. |
QulError_Glyph_UnexpectedNullParagraph | 64 | Paragraph pointer is not set. |
QulError_GraphicsDevice_DrawingEngineNotSet | 65 | Drawing engine has not been set. This error code is only available in debug builds. |
QulError_GraphicsDevice_DestRectSizeIsNotSameAsSourceRectSize | 66 | Destination rectangle with width param1 and height param2 is different than source rectangle size. This error code is only available in debug builds. |
QulError_GraphicsDevice_InvalidClipRectBottom | 67 | Clip rectangle bottom param1 is equal or bigger than buffer height param2 . This error code is only available in debug builds. |
QulError_GraphicsDevice_InvalidClipRectLeft | 68 | Clip rectangle left param1 is less than 0. This error code is only available in debug builds. |
QulError_GraphicsDevice_InvalidClipRectRight | 69 | Clip rectangle right param1 is equal or bigger than buffer width param2 . This error code is only available in debug builds. |
QulError_GraphicsDevice_InvalidClipRectTop | 70 | Clip rectangle top param1 is less than 0. This error code is only available in debug builds. |
QulError_GraphicsDevice_TextureMemoryAllocationFailed | 71 | Memory allocation failed for a texture with size of param1 KB. |
QulError_GraphicsDevice_UnsupportedBitsPerPixel | 72 | Unsupported bits per pixel param1 . |
QulError_GraphicsDevice_UnsupportedRectSize | 73 | Unsupported rectangle size for scaling. Width is available as param1 and height as param2 . |
QulError_GraphicsDevice_UnsupportedTransformationMatrix | 74 | Unsupported transformation matrix for scaling. |
QulError_GraphicsDevice_UnsupportedTransformationType | 75 | Unsupported transformation type for scaling. Value of the type is available as param1 . |
QulError_GraphicsDevice_VectorPathDataNotSet | 76 | Path data for the vector has not been set. |
QulError_Image_CouldNotAlignMemory | 77 | Could not align memory for the image. |
QulError_Image_InvalidAlignment | 78 | Invalid alignment for the image. |
QulError_Image_InvalidTextureIndex | 79 | Invalid texture index. Texture index is available as param1 and number of textures as param2 . |
QulError_Image_MemoryAllocationFailed | 80 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_Image_UnsupportedPixelFormat | 81 | Unsupported pixel format for an image. The value of the format is available as param1 . |
QulError_Image_PropertyNotFound | 82 | SharedImage property was not found when a value was unassigned from it. |
QulError_Image_RefCountIsZero | 83 | Image reference count is zero and it is dereferenced. |
QulError_ImageAsset_InvalidSectionId | 84 | Invalid header or footer ID in the resource storage section. Expected param1 , found param2 . Check that flash memory is programmed properly. |
QulError_ImageAsset_RasterBufferAllocationFailed | 85 | Memory allocation failed for the raster buffer. This error code is only available in debug builds. |
QulError_ImageAsset_TextureAllocationFailed | 86 | Memory allocation failed for the texture. |
QulError_ImageAsset_TexturePreloadAllocationFailed | 87 | Memory allocation failed for preloadable texture with size of param1 KB and allocation type param2 . This error code is only available in debug builds. |
QulError_ImageCache_MemoryAllocationFailed | 88 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_ImageCache_RuntimeAllocationTypeIndexOutOfRange | 89 | Runtime allocation type index param1 is less than zero or equal/greater than number of allocation types param2 . This error code is only available in debug builds. |
QulError_ImageCache_TextureDoesNotFitInCache | 90 | Texture with size of param1 KB does not fit into the cache with size param2 KB. |
QulError_ImageCache_TextureLoadFailed | 91 | Failed to load texture from image cache. |
QulError_ImageLayer_SourceHasToBeASingleImage | 92 | ImageLayer.source contains more than one image. ImageFiles.MCU.Experimental.resourceSplitImageOptimization has to be disabled for the image in ImageLayer. |
QulError_ImageProvider_InvalidImageProvider | 93 | Invalid image provider. |
QulError_IntMath_UintLogZeroValue | 94 | Tried to calculate logarithm of zero. This error code is only available in debug builds. |
QulError_ItemBase_ChildObjectAlreadyHasParentObject | 95 | Tried to append child object which already has a parent object. This error code is only available in debug builds. |
QulError_ItemBase_LinkedListError | 96 | Linked list contains unexpected node. This error code is only available in debug builds. |
QulError_ItemBase_InvalidAnchors | 97 | One 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_NotSiblingOrParent | 98 | Target item is neither sibling nor parent of the item. |
QulError_ItemIterator_ChildObjectNotSet | 99 | Child object has not been set for the item iterator. This error code is only available in debug builds. |
QulError_Keyframe_ToAndFromFramesAreSame | 100 | To-frame is same as from-frame. |
QulError_LinkedList_InvalidHead | 101 | Linked list head is invalid. |
QulError_LinkedListNode_AlreadyListMember | 102 | Node is already in a linked list. This error code is only available in debug builds. |
QulError_LinkedListNode_InvalidPreviousNode | 103 | Linked list previous node is invalid. This error code is only available in debug builds. |
QulError_LinkedListNode_InvalidNextNode | 104 | Linked list next node is invalid. |
QulError_LodePNG_UnsupportedOutputPixelFormat | 105 | Unsupported output pixel format for LodePNG decoding. The value of the format is available as param1 . |
QulError_LodePNG_InvalidHeader | 106 | Failed to load a PNG file due to invalid header data. The error description can be found in the LodePNG documentation with the error code as param1 . |
QulError_LodePNG_DecodeFailed | 107 | Failed to decode a PNG file. The error description can be found in the LodePNG documentation with the error code as param1 . |
QulError_MemoryUtility_AllocationFailed | 108 | Memory allocation of param1 bytes with alignment param2 for allocation type param3 failed. |
QulError_MonotypeUnicode_UnsupportedBidirectionalCharacterType | 109 | Unsupported bidirectional character type. The value of the type is available as param1 . |
QulError_Node_NoTransform | 110 | The node does not have a transform. |
QulError_Node_InvalidItemPointer | 111 | Returned item pointer is not equal with parent item pointer. This error code is only available in debug builds. |
QulError_Optional_ValueNotSet | 112 | Tried to read optional value that has not been set. This error code is only available in debug builds. |
QulError_Path_MemoryAllocationFailed | 113 | Memory allocation failed. Allocation size in bytes is available as param1 and number of elements as param2 . |
QulError_Path_UnexpectedPathElementType | 114 | Unexpected path element type. |
QulError_Path_UnexpectedSvgPathCommandType | 115 | Unexpected SVG path command type param1 . Type value has to be interpreted as 8-bit ASCII character. |
QulError_Property_MemoryAllocationFailed | 116 | Memory allocation failed. Allocation size in bytes is available as param1 . This error code is only available in debug builds. |
QulError_Property_UnexpectedBinding | 117 | Property has unexpected binding. This error code is only available in debug builds. |
QulError_PropertyBase_DependencyNodesNotMarkedDirty | 118 | Dependency nodes of the property are not marked as dirty. This error code is only available in debug builds. |
QulError_PropertyBase_FirstDependencyAlreadySet | 119 | First dependency has been already set. This error code is only available in debug builds. |
QulError_PropertyBase_NoBinding | 120 | Property does not have a binding. This error code is only available in debug builds. |
QulError_PropertyBinding_AliasNotSet | 121 | Property alias has not been set. |
QulError_PropertyBinding_PropertyNotSet | 122 | Property has not been set. This error code is only available in debug builds. |
QulError_QulAssumeWasIncorrect | 123 | False assumption expression was given to QUL_ASSUME. |
QulError_QulUnreachableWasReached | 124 | Execution reached code that was marked with QUL_UNREACHABLE. |
QulError_QulRccLookup_MemoryAllocationFailed | 125 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_QulRccLookup_UnexpectedUrlLength | 126 | Unexpected URL length param1 with buffer size param2 . |
QulError_QulRccLookup_UnexpectedUrlPrefix | 127 | Unexpected URL prefix. Number of available characters is available as param1 and maximum length as param2 . |
QulError_Rasterizer_LineWidthIsZero | 128 | Width of the rasterized line is zero. This error code is only available in debug builds. |
QulError_Rasterizer_SpanXGreaterThanClipRectRight | 129 | Span X param1 + length param2 - 1 is greater than clip rectangle right param3 . |
QulError_Rasterizer_SpanXLessThanClipRectLeft | 130 | Span X param1 is less than clip rectangle left param2 . |
QulError_Rasterizer_SpanYGreaterThanClipRectBottom | 131 | Span Y param1 is greater than clip rectangle bottom param2 . |
QulError_Rasterizer_SpanYLessThanClipRectTop | 132 | Span Y param1 is less than clip rectangle top param2 . |
QulError_Region_InvalidBottom | 133 | Bottom of the region is invalid. |
QulError_Region_InvalidRow | 134 | Row of the region is invalid. This error code is only available in debug builds. |
QulError_Region_InvalidTop | 135 | Top of the region is invalid. |
QulError_Region_NodeIsRowHead | 136 | Node is the row head. |
QulError_Region_NodeIsRowTail | 137 | Node is the row tail. |
QulError_Region_UnexpectedNextNode | 138 | Unexpected next node in the list. This error code is only available in debug builds. |
QulError_Region_UnexpectedPrevNode | 139 | Unexpected previous node in the list. This error code is only available in debug builds. |
QulError_Region_RowTailNotSet | 140 | Row tail has not been set. This error code is only available in debug builds. |
QulError_RenderTree_NodeIsOpaque | 141 | Rendering region of the node is opaque. This error code is only available in debug builds. |
QulError_RenderTree_NodeSplitFailed | 142 | Render node split failed. This error code is only available in debug builds. |
QulError_RenderTree_UnexpectedNodeType | 143 | Unexpected type for the parent node. The value of the type is available as param1 . This error code is only available in debug builds. |
QulError_Rle_InsufficientBufferSize | 144 | The image does not fit to RLE buffers. |
QulError_Rle_InvalidBufferCount | 145 | Invalid buffer count param1 . |
QulError_Rle_InvalidPitch | 146 | Invalid pitch. The value of bytes per line is available as param1 and bytes per pixel as param2 . |
QulError_Rle_UnsupportedPixelFormat | 147 | Unsupported pixel format. The value of the format is available as param1 . |
QulError_Rle_UnsupportedRleFormat | 148 | Unsupported RLE format. The value of the format is available as param1 . |
QulError_Shape_DrawingEngineNotSet | 149 | Drawing engine has not been set. |
QulError_Shape_ShapeNotSet | 150 | Shape has not been set. |
QulError_Shape_UnsupportedLineCapStyle | 151 | Unsupported line cap style param1 . |
QulError_Shape_UnsupportedLineJoinStyle | 152 | Unsupported line join style param1 . |
QulError_Size_DivisionByZero | 153 | Tried to divide size by zero. |
QulError_SparkTextShaper_BidirectionalInfoNotSet | 154 | Info about text bidirectionality has not been set. |
QulError_SparkTextShaper_GlyphInfoNotInitialized | 155 | Glyph info has not been initialized. |
QulError_SparkTextShaper_InvalidGlyphPosition | 156 | Glyph info position param1 is less than zero or greater than text info length param2 . This error code is only available in debug builds. |
QulError_SparkTextShaper_InvalidParagraphSize | 157 | Paragraph size param1 is greater than text size param2 . |
QulError_SparkTextShaper_InvalidStartPosition | 158 | Start position param1 is greater than text length param2 . |
QulError_SparkTextShaper_ShaperInstanceAlreadyExists | 159 | Instance for the shaper has been already created. |
QulError_SparkTextShaper_TextBaseLevelNotSet | 160 | Text base level has not been set. |
QulError_SparkTextShaper_UnexpectedShapingResult | 161 | Unexpected value returned from the shaping engine. |
QulError_SparkTextShaper_InvalidState | 162 | The shaper is not in valid state. This error code is only available in debug builds. |
QulError_Models_MemoryAllocationFailed | 163 | Model memory allocation failed. |
QulError_MonotypeUnicode_WrongCallContext | 164 | The function call is not intended for this configuration. This error code is only available in debug builds. |
QulError_CharBuffer_InvalidState | 165 | The buffer is not in valid state. This error code is only available in debug builds. |
QulError_CharBuffer_IndexOutOfRange | 166 | Index is not at valid position in the current paragraph. This error code is only available in debug builds. |
QulError_CharBuffer_InvalidParagraphForContext | 167 | Paragraph with content that is not intended for this context. This error code is only available in debug builds. |
QulError_StaticTextItem_OffsetNotSet | 168 | Offset has not been set. This error code is only available in debug builds. |
QulError_SwipeView_ContentItemIsNotFlickable | 169 | Content item for the swipe view is not flickable. |
QulError_TextBoundaryFinder_UnsupportedBoundaryType | 170 | Unsupported boundary type param1 . |
QulError_TextCache_AllocatorInstanceCreationFailed | 171 | Failed to create fixed block allocator instance of size param1 . |
QulError_TextCache_BitsPerPixelMismatch | 172 | Bits per pixel param2 for alpha map does not match with bits per pixel param1 of the rendering target. |
QulError_TextCache_IncorrectOffsetAlignment | 173 | Bit offset does not match between source and destination. This error code is only available in debug builds. |
QulError_TextCache_PreAllocationFailed | 174 | Failed to allocate preallocated buffer of size param1 for text cache. |
QulError_TextCache_UnexpectedAlphaMap | 175 | Unexpected alpha map in a vector based text element. |
QulError_TextCache_UnexpectedPathSegmentType | 176 | Unexpected vector path segment type in a vector based text element. |
QulError_TextCache_UnsupportedAlphaMapFormat | 177 | Unsupported bit per pixel param1 for text alpha map rendering. |
QulError_TextElideHandler_FontEngineNotSet | 178 | The font engine has not been set. This error code is only available in debug builds. |
QulError_TextElideHandler_InvalidElideMode | 179 | Invalid text elide mode. The value of the mode is available as param1 . |
QulError_TextElideHandler_InvalidItemWidth | 180 | Invalid item width. |
QulError_TextElideHandler_InvalidState | 181 | Invalid internal state. |
QulError_ParagraphInfo_TextIsNotAtStartPosition | 182 | Text iterator is not at the start of the paragraph. |
QulError_TextEngine_PositionsAlreadySet | 183 | Paragraph info positions has been already set. This error code is only available in debug builds. |
QulError_TextEngine_InvalidGlyphInfoIndex | 184 | Invalid glyph info index. The value of the index is available as param1 and glyph count as param2 . This error code is only available in debug builds. |
QulError_TextEngine_UnicodeEngineNotSet | 185 | The Unicode Engine pointer is expected to contain value. This error code is only available in debug builds. |
QulError_TextLayout_InvalidIndexingType | 186 | Invalid indexing type. The value of the type is available as param1 . This error code is only available in debug builds. |
QulError_TextLayout_InvalidLineOffset | 187 | Invalid line offset. The value of the offset is available as param1 . |
QulError_TextLayout_IndexingTypeOffsetNotSet | 188 | Indexing type offset has not been set. This error code is only available in debug builds. |
QulError_TextMetrics_InvalidBottomRightX | 189 | Invalid bottom right X. The value of the X is available as param1 . This error code is only available in debug builds. |
QulError_TextMetrics_InvalidBottomRightY | 190 | Invalid bottom right Y. The value of the Y is available as param1 . This error code is only available in debug builds. |
QulError_TextShaper_GlyphIteratorNotIncremental | 191 | Glyph iterator is not incremental. This error code is only available in debug builds. |
QulError_TextShaper_MasterIteratorAlreadySet | 192 | Master iterator has been already set. |
QulError_TextShaper_MasterIteratorNotSet | 193 | Master iterator has not been set. |
QulError_TextLine_NotLineStart | 194 | The iterator is not at line start. This error code is only available in debug builds. |
QulError_TextLine_LineAlreadyProcessed | 195 | The text line is already processed. |
QulError_TextLine_NotValid | 196 | The text line is not valid. |
QulError_Timer_AlreadyRunning | 197 | Added timer is already running. This error code is only available in debug builds. |
QulError_Timer_DuplicateElement | 198 | Timer is already in the list. This error code is only available in debug builds. |
QulError_Timer_MemoryAllocationFailed | 199 | Timer memory allocation failed. |
QulError_Timer_NextActiveTimerAlreadySet | 200 | Next active timer has been already set. |
QulError_TimerItem_NextActiveTimerAlreadySet | 201 | Next active timer has been already set. This error code is only available in debug builds. |
QulError_Transforms_TargetItemNotSet | 202 | Target item has not been set for the transformation. |
QulError_UnicodeString_ColorNameDoesNotContainAString | 203 | Color name does not contain a string. |
QulError_UnicodeString_InvalidCharacter | 204 | Character is not valid UTF-8. |
QulError_UnicodeString_InvalidPosition | 205 | Position param1 is less than zero or greater than string length param2 . This error code is only available in debug builds. |
QulError_UnicodeString_InvalidStringFormat | 206 | Unicode string format is invalid. The value of the format is available as param1 . |
QulError_UnicodeString_InvalidFormattedNumberString | 207 | Number string is in invalid format. This error code is only available in debug builds. |
QulError_UnicodeString_MemoryAllocationFailed | 208 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_UnicodeString_UnsupportedStringFormat | 209 | Unsupported string format. |
QulError_UnicodeString_StringHasNoNextElement | 210 | Next character requested at the end of the string. This error code is only available in debug builds. |
QulError_Loader_In_Delegate | 212 | Using Loader inside delegate currently is not supported. This error code is only available in debug builds. |
QulError_Loader_Item_AllocatorNotSet | 213 | The item allocator is not set. |
QulError_MonoType_Generic | 211 | Generic MonoType error. This error code is only available in debug builds. |
QulError_Core_End | 214 | Range end for Qt Quick Ultralite Core error codes. |
QulError_Platform | 100000 | Range start for Qt Quick Ultralite Platform error codes. |
QulError_Adc_SdkError | 100001 | Error returned from the SDK's ADC driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_Bezier_EmptyCurve | 100002 | No segments in a curve. |
QulError_Bezier_InvalidArgument | 100003 | An invalid argument was used. |
QulError_Bezier_TooManySegments | 100004 | Too many segments in a curve. Number of the segments is available as param1 . |
QulError_Brush_UnsupportedPattern | 100005 | The operation does not support pattern param1 . |
QulError_BufferData_AlreadyAllocated | 100006 | Tried to allocate already allocated buffer. |
QulError_BufferData_InvalidDeallocation | 100007 | Tried to deallocate unallocated buffer. |
QulError_BufferData_MemoryAllocationFailed | 100008 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_CircularBuffer_MemoryAllocationFailed | 100009 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_CircularBuffer_PopEmpty | 100010 | Tried to remove entry from empty buffer. This error code is only available in debug builds. |
QulError_Cygfxbackend_MemoryAllocationFailed | 100011 | Memory allocation failed. Allocation size in bytes is available as param1 . |
QulError_Dave2d_SdkError | 100012 | Error returned from the SDK's D/AVE 2D driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_DeviceLink_ShouldNotBeCalled | 100013 | A function of the device link component is called when it is disabled. All calls to the device link should check if the pointer returned from DeviceLink::instance() is not NULL . |
QulError_DeviceLink_NotImplemented | 100014 | The device link interface has not been implemented for this platform. |
QulError_Display_InitializationFailed | 100015 | Display could not be initialized. |
QulError_DisplayDriver_SdkError | 100016 | Error returned from the SDK's display driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_Dma2d_SdkError | 100017 | Error returned from the SDK's DMA2D driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_DrawingDevice_InvalidCoordinate | 100018 | Given coordinate does not match the device. The value of X is available as param1 and Y as param2 . |
QulError_DrawingDevice_InvalidPitch | 100019 | Invalid pitch. The value of bytes per line is available as param1 . |
QulError_DrawingDevice_InvalidSize | 100020 | Invalid size. The value of width is available as param1 and height as param2 . |
QulError_DrawingEngine_InvalidBuffer | 100021 | An invalid buffer used for drawing. This error code is only available in debug builds. |
QulError_DrawingEngine_InvalidScreen | 100022 | Requested screen does not exist. |
QulError_DrawingEngine_MissingFallback | 100023 | Missing implementation for fallback drawing engine. |
QulError_DrawingEngine_SurfaceAllocationFailed | 100024 | Failed to allocate off screen surface. |
QulError_DrawingEngine_UnsupportedBlendMode | 100025 | Unsupported blend mode. The value of the blend mode is available as param1 . |
QulError_DrawingEngine_UnsupportedPixelFormat | 100026 | Unsupported pixel format. The value of the format is available as param1 . |
QulError_FixedSizeBlockHeap_FreeIndexOutOfRange | 100027 | Freed memory does not belong to the FixedSizeBlockHeap. This error code is only available in debug builds. |
QulError_FixedSizeBlockHeap_SizeIndexOutOfRange | 100028 | The provided address does not belong to FixedSizeBlockHeap. |
QulError_GenericMatrix_IndexOutOfRange | 100030 | Row or column outside matrix bounds. |
QulError_GraphicsDriver_UnsupportedAlignment | 100031 | Unsupported image alignment. Alignment must be param1 bytes. Alignment is configured with ImageFiles.MCU.Experimental.resourceAlignment . |
QulError_GraphicsDriver_UnsupportedColorDepth | 100032 | Unsupported color depth. The value of the color depth is available as param1 . |
QulError_GraphicsDriver_UnsupportedFramebufferAlignment | 100033 | Unsupported framebuffer alignment. Alignment must be param1 bytes. This error code is only available in debug builds. |
QulError_GraphicsDriver_UnsupportedPixelFormat | 100034 | Unsupported pixel format. The value of the format is available as param1 . |
QulError_LayerEngine_EmptyColorTable | 100035 | The color table of an indexed color is empty. |
QulError_LayerEngine_InvalidLayerIndex | 100036 | Invalid layer index. The value of the index is available as param1 . |
QulError_LayerEngine_MemoryAllocationFailed | 100037 | Layer engine memory allocation failed. |
QulError_LayerEngine_MissingSpriteLayer | 100038 | Sprite layer has not been set. |
QulError_LayerEngine_MixedColorDepthNotSupportedInSpriteLayer | 100039 | All 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_RuntimeColorDepthChangeNotSupported | 100040 | Platform doesn't support runtime layer color depth changes. |
QulError_LayerEngine_SpriteNotWithinSpriteLayer | 100041 | Sprite coordinates are not within sprite layer. The value of the X is available as param1 and Y as param2 . |
QulError_LayerEngine_UnsupportedAlignment | 100042 | Unsupported image alignment. Alignment must be param1 bytes. Alignment is configured with ImageFiles.MCU.Experimental.resourceAlignment . |
QulError_LayerEngine_UnsupportedColorDepth | 100043 | Unsupported color depth. The value of the color depth is available as param1 . |
QulError_LayerEngine_UnsupportedPerScanlinePadding | 100044 | Unsupported per-scanline padding. |
QulError_LayerEngine_UnsupportedPitch | 100045 | Unsupported image pitch. Width alignment must be param bytes. Alignment is configured with ImageFiles.MCU.Experimental.resourceAlignment. |
QulError_LayerEngine_UnsupportedPixelFormat | 100046 | Unsupported pixel format. The value of the format is available as param1 . |
QulError_Lcdifv2Layer_DisplayControllerInitializationFailed | 100047 | Lcdifv2 engine failed to initialize display controller. |
QulError_Lcdifv2Layer_LayerAllocationFailed | 100048 | Lcdifv2 layer memory allocation failed. |
QulError_Lcdifv2Layer_LayerCountExceeded | 100049 | Lcdifv2 layers count exceeded. |
QulError_Lcdifv2Layer_LayerNotSet | 100050 | Lcdifv2 layer has not been set. |
QulError_Lcdifv2Layer_UnsupportedPixelFormat | 100051 | Unsupported pixel format for Lcdifv2. The value of the format is available as param1 . |
QulError_LruCache_SizeExceeded | 100052 | The cache size was exceeded. |
QulError_MemoryAllocator_InvalidArgument | 100053 | An invalid argument was used. |
QulError_MessageQueue_MessageTooLong | 100054 | The message size of the requested queue is larger than what the system's queue is able to hold. |
QulError_MessageQueue_RequestFailed | 100055 | The system failed to provide a new queue. |
QulError_PathData_InvalidSize | 100056 | Ill formed path data. The value of the size is available as param1 . |
QulError_PathData_SegmentOutOfRange | 100057 | Tried to access segment at index param1 of a path that has param2 segments. |
QulError_PathData_SizeOverflow | 100058 | Integer overflow in path size. The value of the size is available as param1 . |
QulError_PathData_UnknownSegmentType | 100059 | The path contains an unknown segment of type param1 . |
QulError_PathDataIterator_NextSegmentDoesNotExist | 100060 | Failed to access next segment in the path. |
QulError_PathDataIterator_UnexpectedSegmentType | 100061 | Unexpected segment type for the operation. The value of the type is available as param1 . |
QulError_PathDataSegment_SegmentIndexOutOfRange | 100062 | The segment index is invalid. The value of the index is available as param1 and segment count as param2 . |
QulError_PathDataSegment_UnexpectedControlElementCount | 100063 | Unexpected control element count. Element index is available as param1 , total element count as param2 and the type of the path as param3 . |
QulError_PathDataStroker_InvalidArc | 100064 | Unable to stroke the arc from given data. |
QulError_PathDataStroker_MemoryAllocationFailed | 100065 | Path data memory allocation failed. |
QulError_PathDataStroker_UnknownCapStyle | 100066 | Unknown cap style. The value of the style is available as param1 . |
QulError_PathDataStroker_UnknownJoinStyle | 100067 | Unknown join style. The value of the style is available as param1 . |
QulError_PerformanceLogging_InvalidStackRange | 100068 | Invalid stack range. |
QulError_Platform_ExecImplementationMissing | 100069 | The implementation for Qul::Platform::PlatformContext::exec is missing. |
QulError_Platform_MemoryAllocationFailed | 100070 | Platform memory allocation failed. |
QulError_PreloadAllocator_UnsupportedOperation | 100071 | Unsupported operation on the PreloadAllocator. |
QulError_Qspi_SdkError | 100072 | Error returned from the SDK's QSPI driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_Ram_InitializationFailed | 100073 | Initialization of the RAM failed. |
QulError_ResourceStorageSection_LoadFailed | 100074 | Loading of the resource storage section failed. |
QulError_Rh850_CdiError | 100075 | Renesas 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_Drw2dError | 100076 | Renesas 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_WmError | 100077 | Renesas 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. This error code is only available in debug builds. |
QulError_Rng_SdkError | 100078 | Error returned from the SDK's Random Number Generator driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_Screen_UnsupportedDisplayColorFormat | 100079 | Unsupported display color format. The value of the format is available as param1 . |
QulError_Texture_InvalidCoordinate | 100080 | Pixel coordinate out of bounds. The value of X is available as param1 and Y as param2 . This error code is only available in debug builds. |
QulError_Texture_UnsupportedPixelFormat | 100081 | Unsupported pixel format. The value of the format is available as param1 . This error code is only available in debug builds. |
QulError_Timer_SdkError | 100082 | Error returned from the SDK's timer driver. The value of the return code is available as param1 . The return code value has to be interpreted as SDK defined error type. |
QulError_TouchDriver_InitializationFailed | 100083 | Initialization of the touch driver failed. |
QulError_Vglite_InitializationFailed | 100084 | VGLite could not be initialized. |
QulError_Vglite_DrawingBufferNotSet | 100085 | Drawing buffer for VGLite has not been set. |
QulError_Vglite_MemoryAllocationFailed | 100086 | VGLite memory allocation failed. |
QulError_WindowInterface_MemoryAllocationFailed | 100087 | Window interface memory allocation failed. |
QulError_Platform_End | 100088 | Range end for Qt Quick Ultralite Platform error codes. |
QulError_Custom | 200000 | Range 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.