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