[]
        
(Showing Draft Content)

ValueError Class

ValueError Class

Represents the "#VALUE!" error that occurs when value is not the expected type or when the formula is badly formed (incorrect number of parameters in function, unbalanced parenthesis etc).

This class is not intended to be instantiated in your code.

Heirarchy

Properties

Methods

Properties

data

data: any

Ges the data associated with the error.

It could be a text that explains the error or a JavaScript exception object associated with the error.

error

error: string

Gets the error code, for example "#DIV/0!".

Methods

toString

  • toString(): any