Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package com.stytch.sdk.common.errors
import java.util.Locale

public enum class StytchAPIErrorType(
public val type: String,
) {
public enum class StytchAPIErrorType(public val type: String) {
ACTION_AVAILABLE_ONLY_FOR_ACTIVE_MEMBERS(
type = "action_available_only_for_active_members",
),
Expand Down Expand Up @@ -79,6 +77,9 @@ public enum class StytchAPIErrorType(
CANNOT_ASSIGN_DEFAULT_RBAC_ROLE_ID(
type = "cannot_assign_default_rbac_role_id",
),
CANNOT_DELETE_DEFAULT_EMAIL_TEMPLATE(
type = "cannot_delete_default_email_template",
),
CANNOT_DELETE_DEFAULT_SSO_CONNECTION(
type = "cannot_delete_default_sso_connection",
),
Expand Down Expand Up @@ -1558,6 +1559,9 @@ public enum class StytchAPIErrorType(
OIDC_INVALID_CALLBACK_REQUEST(
type = "oidc_invalid_callback_request",
),
OIDC_INVALID_ID_TOKEN(
type = "oidc_invalid_id_token",
),
OIDC_INVALID_USERINFO(
type = "oidc_invalid_userinfo",
),
Expand Down Expand Up @@ -1774,6 +1778,9 @@ public enum class StytchAPIErrorType(
RBAC_ACTION_TOO_LONG(
type = "rbac_action_too_long",
),
RBAC_CANNOT_DELETE_ATTRIBUTE_USED_IN_ORG_POLICY(
type = "rbac_cannot_delete_attribute_used_in_org_policy",
),
RBAC_DESCRIPTION_TOO_LONG(
type = "rbac_description_too_long",
),
Expand All @@ -1783,6 +1790,9 @@ public enum class StytchAPIErrorType(
RBAC_INVALID_DOMAIN(
type = "rbac_invalid_domain",
),
RBAC_ORG_CUSTOM_ROLES_ONLY(
type = "rbac_org_custom_roles_only",
),
RBAC_PERMISSION_MISSING_ACTIONS(
type = "rbac_permission_missing_actions",
),
Expand Down
Loading