Error

View as Markdown

Error

getErrorCode

The "GetErrorCode" method returns the error code in integer form.

import contentstack;

Error error = new Error();

error.getErrorCode();

getErrorMessage

The "GetErrorMessage" method returns the error details.

import contentstack;

Error error = new Error();

error.getErrorMessage();

getErrors

The "GetError" method returns the error in JSONObject format.

import contentstack;

Error error = new Error();

error.getError();