ErrorCode Method

Obsolete. Sets an Integer value (e.g. HttpStatusCode) as the Error Code of a ExceptionResponse object.

Syntax

	ErrorCode(int: Integer)

Parameters

int

Type: Integer
Error code as a integer to be assigned to the ‘errorcode’ exception property.

Return Value

None

Remarks

Obsolete.API Exception does not support Error Codes anymore. This feature will be removed in future versions.

See Also

ErrorCode()
ErrorCode(Text)