-
@RestrictTo(value = Scope.LIBRARY) public class ValidationResultFactory
Groups all error messages in one place
-
-
Method Summary
Modifier and Type Method Description static ValidationResultcreate(int errorCode, int messageCode, Array<String> values)Returns error object containing error code and message based on given parameters static ValidationResultcreate(int errorCode)-
-
Method Detail
-
create
static ValidationResult create(int errorCode, int messageCode, Array<String> values)
Returns error object containing error code and message based on given parameters
- Parameters:
errorCode- error codemessageCode- message code belonging to error codevalues- values to add in error message
-
create
static ValidationResult create(int errorCode)
-
-
-
-