HeliosError
Custom error class for all Helios-specific errors.Error code identifying the specific error type
Human-readable error message
Optional suggestion for resolving the error
Properties
The error code identifying the specific error type
Optional suggestion for resolving the error
Static methods
isHeliosError
Type guard to check if an unknown error is a HeliosError.Error to check
True if the error is a HeliosError instance
Example
HeliosErrorCode
Enumeration of all possible error codes in Helios.Error codes
INVALID_DURATION
Duration value is invalid or out of acceptable range
INVALID_FPS
Frames per second value is invalid (e.g., zero or negative)
INVALID_PLAYBACK_RANGE
Playback range is invalid or malformed
INVALID_INPUT_RANGE
Input range for interpolation is invalid
INVALID_OUTPUT_RANGE
Output range for interpolation is invalid
UNSORTED_INPUT_RANGE
Input range values are not in strictly ascending order
INVALID_SPRING_CONFIG
Spring animation configuration is invalid
INVALID_SRT_FORMAT
SRT subtitle format is malformed
INVALID_WEBVTT_FORMAT
WebVTT subtitle format is malformed
INVALID_INPUT_PROPS
Component input props failed validation
INVALID_RESOLUTION
Resolution value is invalid
INVALID_COLOR_FORMAT
Color string format is not recognized
INVALID_TIMECODE_FORMAT
Timecode format does not match HH:MM:SS:FF
INVALID_MARKER
Marker definition is invalid
MARKER_NOT_FOUND
Requested marker does not exist
INVALID_SCHEMA
Schema definition is invalid or malformed