Skip to content

Commit f09d81f

Browse files
util: add error case for invalid text scale value.
1 parent 43e2673 commit f09d81f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/util/error.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const CUSTOM_ERRORS = [
1111
'DurationGreaterThanMaxPossibleError',
1212
'FontNotFoundError',
1313
'IconAdjustableError',
14+
'InvalidTextScaleValue',
1415
'LowerThirdAdjustableError',
1516
'NotImageAreaError',
1617
'NotTextAreaError',
@@ -46,6 +47,7 @@ const ERRORS = CUSTOM_ERRORS.reduce((acc, className) => {
4647
* @property DurationGreaterThanMaxPossibleError
4748
* @property FontNotFoundError
4849
* @property IconAdjustableError
50+
* @property InvalidTextScaleValue
4951
* @property LowerThirdAdjustableError
5052
* @property NotImageAreaError
5153
* @property NotTextAreaError

0 commit comments

Comments
 (0)