Skip to content

Commit

Permalink
feat: new error (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Varnius authored Sep 7, 2023
1 parent 5b93f76 commit 6595c6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class ARArgyleSdkModule(context: ReactApplicationContext) : ReactContextBaseJava
LinkError.Type.EXPIRED_USER_TOKEN -> "expired_user_token"
LinkError.Type.DDS_NOT_SUPPORTED -> "dds_not_supported"
LinkError.Type.INCOMPATIBLE_DDS_CONFIG -> "incompatible_dds_config"
LinkError.Type.GIG_ITEMS_NOT_SUPPORTED -> "gig_items_not_supported"
LinkError.Type.GENERIC -> "generic"
}

Expand Down
3 changes: 3 additions & 0 deletions ios/ARArgyleSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ class ARArgyleSdk: RCTEventEmitter {
case .INCOMPATIBLE_DDS_CONFIG:
translatedError = "incompatible_dds_config"
break
case .GIG_ITEMS_NOT_SUPPORTED:
translatedError = "gig_items_not_supported"
break
default:
translatedError = "generic"
}
Expand Down

0 comments on commit 6595c6f

Please sign in to comment.