code Property (ServiceError)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize