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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.