The goog.ui.Component.Error Enum

goog.ui.Component.Error

Errors thrown by the component.

@enum
{string}

.ALREADY_RENDERED

Error when the component is already rendered and another render attempt is made.

.CHILD_INDEX_OUT_OF_BOUNDS

Error when an attempt is made to add a child component at an out-of-bounds index. We don't support sparse child arrays.

.DECORATE_INVALID

Error when the given element can not be decorated.

.NOT_IN_DOCUMENT

Error when an operation requiring DOM interaction is made when the component is not in the document

.NOT_OUR_CHILD

Error when an attempt is made to remove a child component from a component other than its parent.

.NOT_SUPPORTED

Error when a method is not supported.

.PARENT_UNABLE_TO_BE_SET

Error when an attempt is made to set the parent of a component in a way that would result in an inconsistent object graph.

.STATE_INVALID

Error when an invalid component state is encountered.