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