Share

Acad.ErrorStatus Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.ErrorStatus();
{
    "eJsOk": 0,
    "eJsInvalidArguments": 1,               // Invalid arguments
    "eJsFail": 2,                           // Native wrapper function return error
    "eJsUnknownError": 256,                 // Unknown error
    "eJsInvalidInputJsonArgs": 257,         // Invalid arguments passed in JSON
    "eJsUnSupportedSysVarValueType": 258,   // Unsupported sysvar value type
    "eJsUnknownCallback": 259,              // Unknown callback name
    "eJsInvalidTooltipId": 260,             // Invalid Tooltip Id
    "eJsUnknownFunctionName": 261,          // Unknown function name passed to exec
    "eJsUnknownCompleteCallback": 262,      // Unknown onComplete callback passed to execAsync
    "eJsUnknownErrorCallback": 263,         // Unknown onError callback passed to execAsync
    "eJsNoDocument": 264,                   // No current document
    "eJsSyncFunction": 265,                 // Synchronous function being called asynchronously
    "eJsAsyncFunction": 266,                // Asynchronous function being called synchronously
    "eJsFailGetCurGsView": 267,             // Null AcGsView
    "eJsFailGetSysVar": 268,                // Null AcDiSysVar
    "eJsFailGetDrawable": 269,              // Null AcJsDrawable
    "eJsInvalidTransientId": 270,           // Invalid Transient ID
    "eJsFailCreateJig": 271,                // Failed to create a new instance of jig
    "eJsJigPromptSet": 272,                 // Jig prompt option has already been set
    "eJsNotSupportedInPaperSpace": 273,     // Not supported in Paper Space
    "eJsCommandLineBusy": 274,              // Waiting for previous command to finish execution
    "eJsNotAvailableInLockedViewport": 275, // View change not available in locked viewprot.
    "eJsCancel": 276
};

Group

ACAD Namespace

Description

This is an error status defined for Shaping Layer.

ACAD Namespace

Was this information helpful?