ApiConstsMakeErrorCode Method

helper method to combine a facility number and an error number to an error code

Definition

Namespace: Articy.Api
Assembly: PublicApiTypes (in PublicApiTypes.dll) Version: 1.0.0
C#
public static int MakeErrorCode(
	int aFacility,
	int aErrorNumber
)

Parameters

aFacility  Int32
the facility that has reported the error
aErrorNumber  Int32
the facility private error number

Return Value

Int32
an error code with the combined bits from facility and error number

See Also