Home Cooker Classes Others Rice CookerGX
Classes  >  ehswitch  >  IsError
ehswitch class : IsError getter

Description

Gets a value that indicates whether the last execution of the handler finished with the exception.

Syntax

ehswitchInstance.IsError

Arguments

None

Return value

ClassDescription
boolA value that indicates whether the last execution of the handler finished with the exception.

Sample code

//anyEhswitch is an instance of ehswitch type.

bool error = anyEhswitch.IsError;

Notes

Returns true if the execution of the handler finished with the exception. Otherwise, returns false.

Links for reference

None

Copyright © Rice All rights reserved.