365 business development logo

ErrorCode Method

Obsolete. Sets the Error Code of a ExceptionResponse object.

Syntax

	ErrorCode(string: Text)

Parameters

string

Type: Text
Error code as a string 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(Integer)