Class ErrorResponse.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.response.ErrorResponse.Builder
- Enclosing class:
ErrorResponse
Builder class for ErrorResponse.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the ErrorResponse instance.setErrorCode
(int value) Sets the error code.setErrorMessage
(String value) Sets the error message.
-
Method Details
-
build
Builds the ErrorResponse instance.- Returns:
- The built ErrorResponse instance.
-
setErrorMessage
Sets the error message.- Parameters:
value
- The error message to set.- Returns:
- The Builder instance.
-
setErrorCode
Sets the error code.- Parameters:
value
- The error code to set.- Returns:
- The Builder instance.
-