File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
core/src/main/java/com/web3auth/core Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions) {
154154 if (web3AuthResponse.error?.isNotBlank() == true ) {
155155 loginCompletableFuture.completeExceptionally(
156156 UnKnownException (
157- web3AuthResponse.error ? : Web3AuthError .getError(ErrorCode .SOMETHING_WENT_ERROR )
157+ web3AuthResponse.error ? : Web3AuthError .getError(ErrorCode .SOMETHING_WENT_WRONG )
158158 )
159159 )
160160 }
@@ -260,7 +260,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions) {
260260 sessionCompletableFuture.completeExceptionally(
261261 UnKnownException (
262262 web3AuthResponse.error ? : Web3AuthError .getError(
263- ErrorCode .SOMETHING_WENT_ERROR
263+ ErrorCode .SOMETHING_WENT_WRONG
264264 )
265265 )
266266 )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ object Web3AuthError {
1313 ErrorCode .DECODING_ERROR -> {
1414 " Decoding Error"
1515 }
16- ErrorCode .SOMETHING_WENT_ERROR -> {
16+ ErrorCode .SOMETHING_WENT_WRONG -> {
1717 " Something went wrong!"
1818 }
1919 ErrorCode .RUNTIME_ERROR -> {
@@ -32,5 +32,5 @@ enum class ErrorCode {
3232 DECODING_ERROR ,
3333 RUNTIME_ERROR ,
3434 APP_CANCELLED ,
35- SOMETHING_WENT_ERROR ,
35+ SOMETHING_WENT_WRONG ,
3636}
You can’t perform that action at this time.
0 commit comments