public class ExceptionUtils extends Object
| Constructor and Description |
|---|
ExceptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static OpenFeatureError |
instantiateErrorByErrorCode(ErrorCode errorCode,
String errorMessage)
Creates an Error for the specific error code.
|
public static OpenFeatureError instantiateErrorByErrorCode(ErrorCode errorCode, String errorMessage)
errorCode - the ErrorCode to useerrorMessage - the error message to include in the returned errorCopyright © 2024. All rights reserved.