code Property

Summary

A code designating the error problem.

Syntax
TypeScript
JavaScript
Object.defineProperty(ServiceError.prototype, 'code', 
   get: function() 
) 
readonly code: number; 

Property Value

Default is 0, which stands for a general failure. Other codes correspond to RasterExceptions or other exceptions.

Remarks

The Code property will return an integer indicating the type of error. The Link property can assist in understanding the meaning of the code.

See ServiceError for more information.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly