/
Method: Validate.FailAll( … )
Method: Validate.FailAll( … )
Use to set a validation result of FailAll and error message in 1 line.
Will cause the entire processing to stop and no output will be created. Will also produce an error message in the $LOG if input parameter fail is true. The value of fail will also be returned by the method, making it easier to write more compact and easier to read code.
Syntax
bool Validate.FailAll( bool fail, string failMessage )
Example
Check example under Validate.FailItem(). The syntax is the same.
, multiple selections available,
Related content
Method: Validate.FailItem( … )
Method: Validate.FailItem( … )
Read with this
SELECT.API
SELECT.API
More like this
WRITE.FILE
WRITE.FILE
More like this
FTP.DELETE
FTP.DELETE
More like this
Tools
More like this
Logging and Recycle Bin
Logging and Recycle Bin
More like this