code Property

Summary

A code designating the error problem.

Syntax

JavaScript Syntax
Object.defineProperty(ServiceError.prototype, 'code', 
	get: function() 
) 
TypeScript Syntax
code: number; // read-only 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly