forked from open-feature/java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add asObjectMap to get the EvaluationContext as Map<String,Obje…
…ct> (open-feature#75) * Add asObjectMap to get the EvaluationContext as Map<String,Object> Signed-off-by: Thomas Poignant <[email protected]> * Fix liniting issue Signed-off-by: Thomas Poignant <[email protected]> * fix PMD issue Signed-off-by: Thomas Poignant <[email protected]> Signed-off-by: Thomas Poignant <[email protected]>
- Loading branch information
1 parent
5db90f1
commit 2eec1a5
Showing
3 changed files
with
133 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/main/java/dev/openfeature/javasdk/exceptions/ValueNotConvertableError.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package dev.openfeature.javasdk.exceptions; | ||
|
||
import dev.openfeature.javasdk.ErrorCode; | ||
import lombok.Getter; | ||
import lombok.experimental.StandardException; | ||
|
||
@StandardException | ||
public class ValueNotConvertableError extends OpenFeatureError { | ||
private static final long serialVersionUID = 1L; | ||
@Getter | ||
private final ErrorCode errorCode = ErrorCode.GENERAL; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters