Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct SvgLoadError

sealed struct SvgLoadError
Defines the error type encountered while loading SVG data via ISvgLoader.

Fields

Constants

UNSUPPORTED_FORMAT

SvgLoadError = {0}
Fetched content is not SVG (e.g. a different image or text format). *

INVALID_INPUT

SvgLoadError = {1}
Caller-supplied source is unusable: an empty/unresolvable URI or a missing local file. *

DECODING_ERROR

SvgLoadError = {2}
Content was fetched but could not be parsed as well-formed SVG. *

INTERNAL_ERROR

SvgLoadError = {3}
Unexpected loader failure unrelated to the input (e.g. an I/O or scheduling error). *
Last modified on October 29, 2026