Interface PinChangeRecoverableError.CustomValidationError.Builder
- Enclosing interface:
- PinChangeRecoverableError.CustomValidationError
public static interface PinChangeRecoverableError.CustomValidationError.Builder
A builder for
CustomValidationError.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Sets theExceptionthat caused the error.description(String description) Sets the description of the error.
-
Method Details
-
description
@NonNull PinChangeRecoverableError.CustomValidationError.Builder description(@NonNull String description) Sets the description of the error.Providing the description is required.
- Parameters:
description- the error description- Returns:
- a builder
-
cause
Sets theExceptionthat caused the error.- Parameters:
cause- the cause of the error- Returns:
- a builder
-
build
- Returns:
- a
CustomValidationError
-