Top
You are looking at an outdated 7.10.1 version of this document. Switch to the 7.14.3 version to see the up to date information.

namespace anychart.graphics.error Improve this Doc

A namespace for error handling, error messages, and error codes functionality.

Functions Overview

errorMessage()Associates custom message to an error code.

Enums Overview

anychart.graphics.error.CodeError codes.

Functions Description

errorMessage

Associates custom message to an error code.

Params:

Name Type Description
errorCode anychart.graphics.error.Code The error code.
message string A message corresponding to an error code, which is set instead of the default one.

Returns:

null - Null.
Returns a message corresponding to an error code.

Params:

Name Type Description
errorCode anychart.graphics.error.Code The error code.

Returns:

string - The message.