Module: Slack::Web::Api::Errors

Defined in:
lib/slack/web/api/errors.rb,
lib/slack/web/api/errors/slack_error.rb,
lib/slack/web/api/errors/server_error.rb,
lib/slack/web/api/errors/too_many_requests_error.rb

Defined Under Namespace

Classes: AccessDenied, AccessTokenExchangeFailed, Accesslimited, AccountInactive, ActionAlreadyInProgress, AdminUnauthorized, AlreadyApproved, AlreadyArchived, AlreadyInChannel, AlreadyInTeam, AlreadyInTeamInvitedUser, AlreadyInvited, AlreadyPinned, AlreadyProcessed, AlreadyReacted, AlreadyStarred, AltTxtTooLarge, AppManagementAppNotInstalledOnOrg, AppMissingActionUrl, AppNotEligible, AppNotFound, AppNotHosted, AppRestrictedOrgWide, ApprovalInactive, ApprovalNotFound, AsUserNotSupported, AtLeastOneSessionSettingRequired, AttachmentPayloadLimitExceeded, AuthMismatch, AuthorizationNotFound, AutoProvisionFailure, BadClientSecret, BadHandle, BadImage, BadRedirectUri, BadTimestamp, BadTitle, BadToken, BadUrl, BadUsers, BarrierAlreadyExists, BarrierNotFound, BarrieredFromUsergroupsNotFound, BlockMismatch, BlockedFileType, BotNotFound, BotUserRequired, BotsNotAllowed, BotsNotFound, CanNotUninstall, CannotAddBot, CannotAddLegacyDisconnectedChannelToWorkspaces, CannotAddMoreChannelsToGroup, CannotAddMoreGroupsToChannel, CannotAddOthers, CannotAddOthersRecurring, CannotAddProfileOnlyUser, CannotAddSlackbot, CannotAuthUser, CannotCompleteOthers, CannotCompleteRecurring, CannotCreateChannel, CannotCreateDialog, CannotFetchVersions, CannotFindChannel, CannotFindMessage, CannotFindService, CannotInstallAnOrgInstalledApp, CannotInvalidatePrimaryOwner, CannotKickHomeTeam, CannotKickTeam, CannotModifyPrimaryOwner, CannotMoveLocalChannel, CannotParse, CannotParseAttachment, CannotPrompt, CannotReplyToMessage, CannotResetBot, CannotResetPrimaryOwner, CannotResolveAlias, CannotSetThisGuestToRegularAtTeamLevel, CannotShareCrossWorkspaceChannel, CannotShareMandatoryChannel, CannotUnfurlMessage, CannotUnfurlUrl, CannotUpdateAdminUser, CantArchiveGeneral, CantArchiveRequired, CantBroadcastMessage, CantDelete, CantDeleteFile, CantDeleteMessage, CantInvite, CantInviteSelf, CantKickFromGeneral, CantKickSelf, CantLeaveGeneral, CantUpdateMessage, CanvasCreationFailed, CanvasDeleted, CanvasDeletingDisabled, CanvasDisabledFileTeam, CanvasDisabledUserTeam, CanvasEditingFailed, CanvasGloballyDisabled, CanvasNotFound, ChannelArchived, ChannelCannotBeUnshared, ChannelCanvasAlreadyExists, ChannelCanvasCreationFailed, ChannelCanvasDeleted, ChannelConversionInProgress, ChannelIsNotPrivate, ChannelMentionSyncRequired, ChannelNotArchived, ChannelNotFound, ChannelOwnerRestriction, ChannelTypeNotSupported, ClientIdTokenMismatch, CodeAlreadyUsed, ConnectedOrgDenied, ConnectedTeamDenied, ConnectedTeamPassedInIsNotTopLevelTeam, ConnectedUserDenied, ConnectionLimitExceeded, ConnectionLimitExceededPending, CouldNotArchiveChannel, CouldNotConvertChannel, CouldNotCreateChannel, CouldNotCreateWorkspace, CouldNotDeleteChannel, CouldNotExport, CouldNotGetConversationPrefs, CouldNotGetRetention, CouldNotGetTeams, CouldNotRemoveRetention, CouldNotRenameChannel, CouldNotSetChannelPref, CouldNotSetRetention, CouldNotSetTeamsForChannel, CouldNotUnarchiveChannel, CustomIntegrationNotAllowedAtEnterprise, DataNotAvailable, DatastoreError, DatastoreMigrationInProgress, DefaultChannelRestricted, DefaultOrgWideChannel, DeleteNotAllowed, DeprecatedEndpoint, DescriptionTooLong, DiscoverabilitySettingInvalid, DomainTaken, DuplicateChannelNotFound, DuplicateExternalId, DuplicateMessageNotFound, EditWindowClosed, EkmAccessDenied, EmailDoesNotMatch, EmailNotVerified, EmailTaken, EmojiLimitReached, EmojiNotFound, EndpointUnavailable, EnterpriseIsRestricted, EnterpriseNotFound, EntityNotFound, ErrorAddingCollaborators, ErrorBadFormat, ErrorBadNameI18n, ErrorBadUpload, ErrorBadWide, ErrorInvalidAlias, ErrorInvalidEmojiToRename, ErrorMissingName, ErrorNameTaken, ErrorNameTakenI18n, ErrorNoImage, ErrorRemovingCollaborators, ErrorTooBig, ErrorUnpublishingWorkflows, ExchangedTriggerId, ExecutionNotInRunningState, ExpiredTriggerId, ExternalChannelMigrating, ExternalLimitedRestriction, ExternalTeamNotConnectedToThisOrg, ExternalWorkspaceDenied, ExternallySharedOrDisconnectedChannel, FailToGetTeamsForRestrictedUser, FailedAddingCollaborator, FailedCreatingApp, FailedDatastoreOperation, FailedExport, FailedForSomeEntities, FailedForSomeUsers, FailedForSomeUsersAndEntities, FailedLookingUpUser, FailedSendingDialog, FailedToAddEmoji, FailedToAliasEmoji, FailedToFetchActiveTeam, FailedToFetchInfo, FailedToRemoveGroupUsers, FailedToRemoveUserFromWorkspace, FailedToRenameEmoji, FailedToSendInvite, FailedToSetDefaultChannels, FailedToSetDescription, FailedToSetDiscoverability, FailedToSetExpiration, FailedToSetIcon, FailedToSetName, FailedToSetUserToAdmin, FailedToSetUserToOwner, FailedToSetUserToRegular, FailedToStartTrial, FailedToUnlinkChannel, FailedToUnshare, FailedToValidateCaller, FailedToValidateChannels, FailedToValidateCustomMessage, FailedToValidateExpiration, FailedToValidateTeam, FailureRemovingEmoji, FatalError, FeatureNotAvailable, FeatureNotEnabled, FetchMembersFailed, FileCommentNotFound, FileDeleted, FileDeletingDisabled, FileNotFound, FileNotShared, FileNotYetAvailable, FileUnderReview, FileUpdateFailed, FileUploadSizeRestricted, FileUploadsDisabled, ForbiddenHandle, ForbiddenTeam, FreeTeamNotAllowed, FreeTeamsCannotCreateStandaloneCanvases, FreeTeamsCannotEditStandaloneCanvases, FunctionExecutionNotFound, FunctionNotFound, GroupAlreadyLinkedToChannel, GroupMustNotBeEmpty, GroupNotFound, HandleAlreadyExists, HasAlreadyConnectedToOrg, HashConflict, HttpRequestError, InactiveCall, InactiveInvite, IncludeDeactivatedUserWorkspacesInvalid, InsecureRequest, InternalError, InvalidAction, InvalidActor, InvalidApp, InvalidAppId, InvalidArgName, InvalidArgs, InvalidArguments, InvalidArrayArg, InvalidAttachments, InvalidAuth, InvalidBlocks, InvalidBlocksFormat, InvalidBookmarkType, InvalidCallId, InvalidChannel, InvalidChannelId, InvalidChannelProvided, InvalidChannelType, InvalidChannelsLimit, InvalidCharset, InvalidChildType, InvalidClientId, InvalidCode, InvalidCreatedBy, InvalidCursor, InvalidDatastore, InvalidDate, InvalidDomains, InvalidDuration, InvalidEmail, InvalidEmoji, InvalidEmojiNotAllowed, InvalidEnterprise, InvalidEntityId, InvalidEventContext, InvalidExternalId, InvalidFieldOrData, InvalidFormData, InvalidGrantType, InvalidGroupProvided, InvalidHostTeam, InvalidInputs, InvalidLimit, InvalidLink, InvalidManifest, InvalidMetadataFilterKeys, InvalidMetadataFormat, InvalidMetadataSchema, InvalidName, InvalidNameMaxlength, InvalidNamePunctuation, InvalidNameRequired, InvalidNameSpecials, InvalidNamedEntities, InvalidOutputs, InvalidParameters, InvalidParentType, InvalidPayload, InvalidPermissionType, InvalidPermissions, InvalidPostType, InvalidPresence, InvalidPrivacy, InvalidProfile, InvalidRecipientTeam, InvalidRefreshToken, InvalidRequest, InvalidRequestId, InvalidRestrictedSubjects, InvalidRoleForUser, InvalidRoleId, InvalidScheduledMessageId, InvalidScopes, InvalidSearchChannelType, InvalidSetting, InvalidSort, InvalidSortDir, InvalidSource, InvalidStartTime, InvalidStepStatus, InvalidTargetTeam, InvalidTeam, InvalidTeamId, InvalidTeamIds, InvalidThreadTs, InvalidTime, InvalidTimestamp, InvalidTitle, InvalidToken, InvalidTrigger, InvalidTriggerId, InvalidTsLatest, InvalidTsOldest, InvalidType, InvalidTypes, InvalidUnfurlId, InvalidUnfurlsFormat, InvalidUrl, InvalidUser, InvalidUserCombination, InvalidUserId, InvalidUsers, InvalidValue, InvalidVisibility, InvalidWorkflowAuthStrategy, InvalidWorkspaceFilter, InviteFromSameOrg, InviteLookupError, InviteNotFound, InviteUsed, InvitedUserNotCreated, InvitedUserNotReactivated, InviteeCantSeeChannel, InvitorCannotSeeChannel, IsArchived, IsBot, IsIdpManaged, IsInactive, IsPendingConnectedToOrg, LastMember, LeavingTeamNotInChannel, LeavingTeamRequired, LegacyConnectionInvalidOrg, LegacyConnectionLimitExceeded, LimitRequired, LinkNotFound, MalwareDetected, ManagedChannelNotSupported, MemberAnalyticsDisabled, MemberLimitExceeded, MessageLimitExceeded, MessageNotFound, MessageTooLong, MessagesTabDisabled, MetadataMustBeSentFromApp, MetadataNotAvailable, MetadataOnlyDoesNotSupportDate, MetadataTooLarge, MethodDeprecated, MethodNotSupported, MethodNotSupportedForChannelType, MigrationInProgress, MissingArgs, MissingArgument, MissingChannel, MissingDialog, MissingDuration, MissingFileData, MissingPostType, MissingProfileId, MissingResource, MissingScope, MissingSource, MissingStepIds, MissingSubteamName, MissingTargetTeam, MissingTeam, MissingTrigger, MissingTs, MissingUnfurlId, MissingUnfurls, MissingUser, MsgBlocksTooLong, MsgTooLong, MustClearBothStatusTextAndStatusEmoji, MustProvideTeamDomain, MustProvideTeamName, MustRevokeAccess, NameAlreadyExists, NameNotAllowed, NameTaken, NameTakenInOrg, NameTooLong, NamedEntitiesCannotBeEmpty, NoActiveSessions, NoAliasSelected, NoBotUserForApp, NoChannel, NoChannelMemberships, NoDomainsProvided, NoDualBroadcastContentUpdate, NoExternalInvitePermission, NoImageUploaded, NoItemSpecified, NoLocalUserOnTeam, NoPermission, NoPin, NoReaction, NoRefreshToken, NoResolutionFound, NoScopes, NoSuchSubteam, NoTeamIdsGiven, NoTeamsToDisconnect, NoText, NoTokensFound, NoUser, NoUsersProvided, NoValidChannels, NoValidEntities, NoValidNamedEntities, NoValidTeams, NoValidUsers, NotAdmin, NotAllowed, NotAllowedForGridWorkspace, NotAllowedTokenType, NotAnAdmin, NotAnEnterprise, NotAppAdmin, NotArchived, NotAuthed, NotAuthorized, NotBearerToken, NotEnabled, NotEnoughUsers, NotEnterpriseTeam, NotFound, NotImplemented, NotInChannel, NotInDnd, NotOwner, NotPaid, NotPinnable, NotPinned, NotReactable, NotStarred, NotSupported, NotVisible, OauthAuthorizationUrlMismatch, OneOrMoreInvalidChannels, OrgLevelEmailDisplayDisabled, OrgLoginRequired, OrgNotConnected, OrgNotFound, OrgResolutionRequired, OrgUserNotInTeam, OverMaxEntityLimit, OverPaginationLimit, PaginationNotAvailable, PaidOnly, PaidTeamsOnly, ParameterValidationFailed, ParentBookmarkDisabled, ParentWithLink, ParsingError, PartialFailure, PartialProfileSetFailed, PermissionDenied, PermissionTypeRequired, PlanUpgradeRequired, PolicyNotFound, PostContentsTooLarge, PostingToChannelDenied, PostingToGeneralChannelDenied, PreviewFeatureNotAvailable, PrimaryUsergroupNotFound, ProfileSetFailed, ProvidersNotFound, PublicVideoNotAllowed, PublishedAppOnly, PushLimitReached, RateLimited, Ratelimit, Ratelimited, RecipientsNotSpecified, RequestAlreadyResolved, RequestIdOrAppIdIsRequired, RequestIdRequiredForCustomIntegrations, RequestTimeout, ReservedName, ResizedButStillTooLarge, RestrictedAction, RestrictedActionNonThreadableChannel, RestrictedActionReadOnlyChannel, RestrictedActionThreadLocked, RestrictedActionThreadOnlyChannel, RestrictedTooMany, RetentionOverrideNotAllowed, SentRecently, ServerError, ServiceUnavailable, SessionExpired, SessionInvalidationFailed, SessionNotFound, SessionResetNotAllowed, SharedChannelDenied, SlackConnectBlockedFileType, SlackConnectCanvasSharingBlocked, SlackConnectClipSharingBlocked, SlackConnectFileLinkSharingBlocked, SlackConnectFileUploadSharingBlocked, SlackConnectListsSharingBlocked, SlackError, SnippetTooLarge, SnoozeEndFailed, SnoozeFailed, SpecifyEnterpriseOrTeams, StorageLimitReached, SubteamMaxUsersExceeded, SudoRequired, TargetTeamMustBeSpecifiedInOrgContext, TargetTeamNotFound, TargetTeamNotOnOrg, TeamAccessNotGranted, TeamAddedToOrg, TeamIdOrOrgRequired, TeamIdRequiredForEnterprise, TeamNotConnected, TeamNotFound, TeamNotOnEnterprise, TeamQuotaExceeded, TeamsNotFound, TemplateNotVisible, ThreadLocked, ThreadNotFound, TimeInPast, TimeTooFar, TimeoutError, TokenAlreadyExchanged, TokenExpired, TokenNotFound, TokenRevoked, TokenRotationNotEnabled, TooLarge, TooLong, TooManyAttachments, TooManyBookmarks, TooManyContactCards, TooManyDomainsProvided, TooManyEmails, TooManyEmoji, TooManyEntities, TooManyFrames, TooManyIds, TooManyIdsProvided, TooManyLinkedChannels, TooManyMembers, TooManyNamedEntities, TooManyPins, TooManyReactions, TooManyRequestsError, TooManyTargetTeams, TooManyTeams, TooManyTeamsProvided, TooManyUsers, TriggerExchanged, TriggerExpired, TriggerNotFound, TriggerTypeIdNotFound, TwoFactorSetupRequired, UnableToDelete, UnableToFetchCustomEmojis, UnableToLinkIdpGroupAndChannel, UnableToProcessPostRequest, UnableToUnlinkIdpGroupAndChannel, UnableToUpdateExistingSessions, UnavailableError, UnknownAppId, UnknownError, UnknownFunctionId, UnknownMethod, UnknownSnippetType, UnknownStepId, UnknownSubtype, UnknownType, UnknownWorkflowId, UnsupportedActionDescribe, UnsupportedActionPut, UnsupportedArguments, UnsupportedContextType, UnsupportedTeamType, UpdateFailed, UraMaxChannels, UrlInMessage, UrlRestrictionNotSupported, UserAlreadyDeleted, UserAlreadyTeamMember, UserCannotCreateChannel, UserCannotManageWorkspace, UserDisabled, UserDoesNotOwnChannel, UserIsAlreadyDeleted, UserIsBot, UserIsNotAGuest, UserIsRestricted, UserIsUltraRestricted, UserMustBeAdmin, UserMustBeInWorkspace, UserNotFound, UserNotInChannel, UserNotVisible, UserRequiredToAcceptAsPrivateButCannot, UserSessionResetFailed, UsergroupNotFound, UsergroupNotLinkedToTeam, UsergroupTeamNotProvisioned, UsersListNotSupplied, UsersNotFound, ValidationErrors, ViewTooLarge, VisibilityIsNotNamedEntities, WorkflowsExportCsvNotEnabled

Constant Summary collapse

ERROR_CLASSES =
{
  'access_denied' => AccessDenied,
  'access_token_exchange_failed' => AccessTokenExchangeFailed,
  'accesslimited' => Accesslimited,
  'account_inactive' => AccountInactive,
  'action_already_in_progress' => ActionAlreadyInProgress,
  'admin_unauthorized' => AdminUnauthorized,
  'already_approved' => AlreadyApproved,
  'already_archived' => AlreadyArchived,
  'already_in_channel' => AlreadyInChannel,
  'already_in_team' => AlreadyInTeam,
  'already_in_team_invited_user' => AlreadyInTeamInvitedUser,
  'already_invited' => AlreadyInvited,
  'already_pinned' => AlreadyPinned,
  'already_processed' => AlreadyProcessed,
  'already_reacted' => AlreadyReacted,
  'already_starred' => AlreadyStarred,
  'alt_txt_too_large' => AltTxtTooLarge,
  'app_management_app_not_installed_on_org' => AppManagementAppNotInstalledOnOrg,
  'app_missing_action_url' => AppMissingActionUrl,
  'app_not_eligible' => AppNotEligible,
  'app_not_found' => AppNotFound,
  'app_not_hosted' => AppNotHosted,
  'app_restricted_org_wide' => AppRestrictedOrgWide,
  'approval_inactive' => ApprovalInactive,
  'approval_not_found' => ApprovalNotFound,
  'as_user_not_supported' => AsUserNotSupported,
  'at_least_one_session_setting_required' => AtLeastOneSessionSettingRequired,
  'attachment_payload_limit_exceeded' => AttachmentPayloadLimitExceeded,
  'auth_mismatch' => AuthMismatch,
  'authorization_not_found' => AuthorizationNotFound,
  'auto_provision_failure' => AutoProvisionFailure,
  'bad_client_secret' => BadClientSecret,
  'bad_handle' => BadHandle,
  'bad_image' => BadImage,
  'bad_redirect_uri' => BadRedirectUri,
  'bad_timestamp' => BadTimestamp,
  'bad_title' => BadTitle,
  'bad_token' => BadToken,
  'bad_url' => BadUrl,
  'bad_users' => BadUsers,
  'barrier_already_exists' => BarrierAlreadyExists,
  'barrier_not_found' => BarrierNotFound,
  'barriered_from_usergroups_not_found' => BarrieredFromUsergroupsNotFound,
  'block_mismatch' => BlockMismatch,
  'blocked_file_type' => BlockedFileType,
  'bot_not_found' => BotNotFound,
  'bot_user_required' => BotUserRequired,
  'bots_not_allowed' => BotsNotAllowed,
  'bots_not_found' => BotsNotFound,
  'can_not_uninstall' => CanNotUninstall,
  'cannot_add_bot' => CannotAddBot,
  'cannot_add_legacy_disconnected_channel_to_workspaces' => CannotAddLegacyDisconnectedChannelToWorkspaces,
  'cannot_add_more_channels_to_group' => CannotAddMoreChannelsToGroup,
  'cannot_add_more_groups_to_channel' => CannotAddMoreGroupsToChannel,
  'cannot_add_others' => CannotAddOthers,
  'cannot_add_others_recurring' => CannotAddOthersRecurring,
  'cannot_add_profile_only_user' => CannotAddProfileOnlyUser,
  'cannot_add_slackbot' => CannotAddSlackbot,
  'cannot_auth_user' => CannotAuthUser,
  'cannot_complete_others' => CannotCompleteOthers,
  'cannot_complete_recurring' => CannotCompleteRecurring,
  'cannot_create_channel' => CannotCreateChannel,
  'cannot_create_dialog' => CannotCreateDialog,
  'cannot_fetch_versions' => CannotFetchVersions,
  'cannot_find_channel' => CannotFindChannel,
  'cannot_find_message' => CannotFindMessage,
  'cannot_find_service' => CannotFindService,
  'cannot_install_an_org_installed_app' => CannotInstallAnOrgInstalledApp,
  'cannot_invalidate_primary_owner' => CannotInvalidatePrimaryOwner,
  'cannot_kick_home_team' => CannotKickHomeTeam,
  'cannot_kick_team' => CannotKickTeam,
  'cannot_modify_primary_owner' => CannotModifyPrimaryOwner,
  'cannot_move_local_channel' => CannotMoveLocalChannel,
  'cannot_parse' => CannotParse,
  'cannot_parse_attachment' => CannotParseAttachment,
  'cannot_prompt' => CannotPrompt,
  'cannot_reply_to_message' => CannotReplyToMessage,
  'cannot_reset_bot' => CannotResetBot,
  'cannot_reset_primary_owner' => CannotResetPrimaryOwner,
  'cannot_resolve_alias' => CannotResolveAlias,
  'cannot_set_this_guest_to_regular_at_team_level' => CannotSetThisGuestToRegularAtTeamLevel,
  'cannot_share_cross_workspace_channel' => CannotShareCrossWorkspaceChannel,
  'cannot_share_mandatory_channel' => CannotShareMandatoryChannel,
  'cannot_unfurl_message' => CannotUnfurlMessage,
  'cannot_unfurl_url' => CannotUnfurlUrl,
  'cannot_update_admin_user' => CannotUpdateAdminUser,
  'cant_archive_general' => CantArchiveGeneral,
  'cant_archive_required' => CantArchiveRequired,
  'cant_broadcast_message' => CantBroadcastMessage,
  'cant_delete' => CantDelete,
  'cant_delete_file' => CantDeleteFile,
  'cant_delete_message' => CantDeleteMessage,
  'cant_invite' => CantInvite,
  'cant_invite_self' => CantInviteSelf,
  'cant_kick_from_general' => CantKickFromGeneral,
  'cant_kick_self' => CantKickSelf,
  'cant_leave_general' => CantLeaveGeneral,
  'cant_update_message' => CantUpdateMessage,
  'canvas_creation_failed' => CanvasCreationFailed,
  'canvas_deleted' => CanvasDeleted,
  'canvas_deleting_disabled' => CanvasDeletingDisabled,
  'canvas_disabled_file_team' => CanvasDisabledFileTeam,
  'canvas_disabled_user_team' => CanvasDisabledUserTeam,
  'canvas_editing_failed' => CanvasEditingFailed,
  'canvas_globally_disabled' => CanvasGloballyDisabled,
  'canvas_not_found' => CanvasNotFound,
  'channel_archived' => ChannelArchived,
  'channel_cannot_be_unshared' => ChannelCannotBeUnshared,
  'channel_canvas_already_exists' => ChannelCanvasAlreadyExists,
  'channel_canvas_creation_failed' => ChannelCanvasCreationFailed,
  'channel_canvas_deleted' => ChannelCanvasDeleted,
  'channel_conversion_in_progress' => ChannelConversionInProgress,
  'channel_is_not_private' => ChannelIsNotPrivate,
  'channel_mention_sync_required' => ChannelMentionSyncRequired,
  'channel_not_archived' => ChannelNotArchived,
  'channel_not_found' => ChannelNotFound,
  'channel_owner_restriction' => ChannelOwnerRestriction,
  'channel_type_not_supported' => ChannelTypeNotSupported,
  'client_id_token_mismatch' => ClientIdTokenMismatch,
  'code_already_used' => CodeAlreadyUsed,
  'connected_org_denied' => ConnectedOrgDenied,
  'connected_team_denied' => ConnectedTeamDenied,
  'connected_team_passed_in_is_not_top_level_team' => ConnectedTeamPassedInIsNotTopLevelTeam,
  'connected_user_denied' => ConnectedUserDenied,
  'connection_limit_exceeded' => ConnectionLimitExceeded,
  'connection_limit_exceeded_pending' => ConnectionLimitExceededPending,
  'could_not_archive_channel' => CouldNotArchiveChannel,
  'could_not_convert_channel' => CouldNotConvertChannel,
  'could_not_create_channel' => CouldNotCreateChannel,
  'could_not_create_workspace' => CouldNotCreateWorkspace,
  'could_not_delete_channel' => CouldNotDeleteChannel,
  'could_not_export' => CouldNotExport,
  'could_not_get_conversation_prefs' => CouldNotGetConversationPrefs,
  'could_not_get_retention' => CouldNotGetRetention,
  'could_not_get_teams' => CouldNotGetTeams,
  'could_not_remove_retention' => CouldNotRemoveRetention,
  'could_not_rename_channel' => CouldNotRenameChannel,
  'could_not_set_channel_pref' => CouldNotSetChannelPref,
  'could_not_set_retention' => CouldNotSetRetention,
  'could_not_set_teams_for_channel' => CouldNotSetTeamsForChannel,
  'could_not_unarchive_channel' => CouldNotUnarchiveChannel,
  'custom_integration_not_allowed_at_enterprise' => CustomIntegrationNotAllowedAtEnterprise,
  'data_not_available' => DataNotAvailable,
  'datastore_error' => DatastoreError,
  'datastore_migration_in_progress' => DatastoreMigrationInProgress,
  'default_channel_restricted' => DefaultChannelRestricted,
  'default_org_wide_channel' => DefaultOrgWideChannel,
  'delete_not_allowed' => DeleteNotAllowed,
  'deprecated_endpoint' => DeprecatedEndpoint,
  'description_too_long' => DescriptionTooLong,
  'discoverability_setting_invalid' => DiscoverabilitySettingInvalid,
  'domain_taken' => DomainTaken,
  'duplicate_channel_not_found' => DuplicateChannelNotFound,
  'duplicate_external_id' => DuplicateExternalId,
  'duplicate_message_not_found' => DuplicateMessageNotFound,
  'edit_window_closed' => EditWindowClosed,
  'ekm_access_denied' => EkmAccessDenied,
  'email_does_not_match' => EmailDoesNotMatch,
  'email_not_verified' => EmailNotVerified,
  'email_taken' => EmailTaken,
  'emoji_limit_reached' => EmojiLimitReached,
  'emoji_not_found' => EmojiNotFound,
  'endpoint_unavailable' => EndpointUnavailable,
  'enterprise_is_restricted' => EnterpriseIsRestricted,
  'enterprise_not_found' => EnterpriseNotFound,
  'entity_not_found' => EntityNotFound,
  'error_adding_collaborators' => ErrorAddingCollaborators,
  'error_bad_format' => ErrorBadFormat,
  'error_bad_name_i18n' => ErrorBadNameI18n,
  'error_bad_upload' => ErrorBadUpload,
  'error_bad_wide' => ErrorBadWide,
  'error_invalid_alias' => ErrorInvalidAlias,
  'error_invalid_emoji_to_rename' => ErrorInvalidEmojiToRename,
  'error_missing_name' => ErrorMissingName,
  'error_name_taken' => ErrorNameTaken,
  'error_name_taken_i18n' => ErrorNameTakenI18n,
  'error_no_image' => ErrorNoImage,
  'error_removing_collaborators' => ErrorRemovingCollaborators,
  'error_too_big' => ErrorTooBig,
  'error_unpublishing_workflows' => ErrorUnpublishingWorkflows,
  'exchanged_trigger_id' => ExchangedTriggerId,
  'execution_not_in_running_state' => ExecutionNotInRunningState,
  'expired_trigger_id' => ExpiredTriggerId,
  'external_channel_migrating' => ExternalChannelMigrating,
  'external_limited_restriction' => ExternalLimitedRestriction,
  'external_team_not_connected_to_this_org' => ExternalTeamNotConnectedToThisOrg,
  'external_workspace_denied' => ExternalWorkspaceDenied,
  'externally_shared_or_disconnected_channel' => ExternallySharedOrDisconnectedChannel,
  'fail_to_get_teams_for_restricted_user' => FailToGetTeamsForRestrictedUser,
  'failed_adding_collaborator' => FailedAddingCollaborator,
  'failed_creating_app' => FailedCreatingApp,
  'failed_datastore_operation' => FailedDatastoreOperation,
  'failed_export' => FailedExport,
  'failed_for_some_entities' => FailedForSomeEntities,
  'failed_for_some_users' => FailedForSomeUsers,
  'failed_for_some_users_and_entities' => FailedForSomeUsersAndEntities,
  'failed_looking_up_user' => FailedLookingUpUser,
  'failed_sending_dialog' => FailedSendingDialog,
  'failed_to_add_emoji' => FailedToAddEmoji,
  'failed_to_alias_emoji' => FailedToAliasEmoji,
  'failed_to_fetch_active_team' => FailedToFetchActiveTeam,
  'failed_to_fetch_info' => FailedToFetchInfo,
  'failed_to_remove_group_users' => FailedToRemoveGroupUsers,
  'failed_to_remove_user_from_workspace' => FailedToRemoveUserFromWorkspace,
  'failed_to_rename_emoji' => FailedToRenameEmoji,
  'failed_to_send_invite' => FailedToSendInvite,
  'failed_to_set_default_channels' => FailedToSetDefaultChannels,
  'failed_to_set_description' => FailedToSetDescription,
  'failed_to_set_discoverability' => FailedToSetDiscoverability,
  'failed_to_set_expiration' => FailedToSetExpiration,
  'failed_to_set_icon' => FailedToSetIcon,
  'failed_to_set_name' => FailedToSetName,
  'failed_to_set_user_to_admin' => FailedToSetUserToAdmin,
  'failed_to_set_user_to_owner' => FailedToSetUserToOwner,
  'failed_to_set_user_to_regular' => FailedToSetUserToRegular,
  'failed_to_start_trial' => FailedToStartTrial,
  'failed_to_unlink_channel' => FailedToUnlinkChannel,
  'failed_to_unshare' => FailedToUnshare,
  'failed_to_validate_caller' => FailedToValidateCaller,
  'failed_to_validate_channels' => FailedToValidateChannels,
  'failed_to_validate_custom_message' => FailedToValidateCustomMessage,
  'failed_to_validate_expiration' => FailedToValidateExpiration,
  'failed_to_validate_team' => FailedToValidateTeam,
  'failure_removing_emoji' => FailureRemovingEmoji,
  'fatal_error' => FatalError,
  'feature_not_available' => FeatureNotAvailable,
  'feature_not_enabled' => FeatureNotEnabled,
  'fetch_members_failed' => FetchMembersFailed,
  'file_comment_not_found' => FileCommentNotFound,
  'file_deleted' => FileDeleted,
  'file_deleting_disabled' => FileDeletingDisabled,
  'file_not_found' => FileNotFound,
  'file_not_shared' => FileNotShared,
  'file_not_yet_available' => FileNotYetAvailable,
  'file_under_review' => FileUnderReview,
  'file_update_failed' => FileUpdateFailed,
  'file_upload_size_restricted' => FileUploadSizeRestricted,
  'file_uploads_disabled' => FileUploadsDisabled,
  'forbidden_handle' => ForbiddenHandle,
  'forbidden_team' => ForbiddenTeam,
  'free_team_not_allowed' => FreeTeamNotAllowed,
  'free_teams_cannot_create_standalone_canvases' => FreeTeamsCannotCreateStandaloneCanvases,
  'free_teams_cannot_edit_standalone_canvases' => FreeTeamsCannotEditStandaloneCanvases,
  'function_execution_not_found' => FunctionExecutionNotFound,
  'function_not_found' => FunctionNotFound,
  'group_already_linked_to_channel' => GroupAlreadyLinkedToChannel,
  'group_must_not_be_empty' => GroupMustNotBeEmpty,
  'group_not_found' => GroupNotFound,
  'handle_already_exists' => HandleAlreadyExists,
  'has_already_connected_to_org' => HasAlreadyConnectedToOrg,
  'hash_conflict' => HashConflict,
  'inactive_call' => InactiveCall,
  'inactive_invite' => InactiveInvite,
  'include_deactivated_user_workspaces_invalid' => IncludeDeactivatedUserWorkspacesInvalid,
  'insecure_request' => InsecureRequest,
  'internal_error' => InternalError,
  'invalid_action' => InvalidAction,
  'invalid_actor' => InvalidActor,
  'invalid_app' => InvalidApp,
  'invalid_app_id' => InvalidAppId,
  'invalid_arg_name' => InvalidArgName,
  'invalid_args' => InvalidArgs,
  'invalid_arguments' => InvalidArguments,
  'invalid_array_arg' => InvalidArrayArg,
  'invalid_attachments' => InvalidAttachments,
  'invalid_auth' => InvalidAuth,
  'invalid_blocks' => InvalidBlocks,
  'invalid_blocks_format' => InvalidBlocksFormat,
  'invalid_bookmark_type' => InvalidBookmarkType,
  'invalid_call_id' => InvalidCallId,
  'invalid_channel' => InvalidChannel,
  'invalid_channel_id' => InvalidChannelId,
  'invalid_channel_provided' => InvalidChannelProvided,
  'invalid_channel_type' => InvalidChannelType,
  'invalid_channels_limit' => InvalidChannelsLimit,
  'invalid_charset' => InvalidCharset,
  'invalid_child_type' => InvalidChildType,
  'invalid_client_id' => InvalidClientId,
  'invalid_code' => InvalidCode,
  'invalid_created_by' => InvalidCreatedBy,
  'invalid_cursor' => InvalidCursor,
  'invalid_datastore' => InvalidDatastore,
  'invalid_date' => InvalidDate,
  'invalid_domains' => InvalidDomains,
  'invalid_duration' => InvalidDuration,
  'invalid_email' => InvalidEmail,
  'invalid_emoji' => InvalidEmoji,
  'invalid_emoji_not_allowed' => InvalidEmojiNotAllowed,
  'invalid_enterprise' => InvalidEnterprise,
  'invalid_entity_id' => InvalidEntityId,
  'invalid_event_context' => InvalidEventContext,
  'invalid_external_id' => InvalidExternalId,
  'invalid_field_or_data' => InvalidFieldOrData,
  'invalid_form_data' => InvalidFormData,
  'invalid_grant_type' => InvalidGrantType,
  'invalid_group_provided' => InvalidGroupProvided,
  'invalid_host_team' => InvalidHostTeam,
  'invalid_inputs' => InvalidInputs,
  'invalid_limit' => InvalidLimit,
  'invalid_link' => InvalidLink,
  'invalid_manifest' => InvalidManifest,
  'invalid_metadata_filter_keys' => InvalidMetadataFilterKeys,
  'invalid_metadata_format' => InvalidMetadataFormat,
  'invalid_metadata_schema' => InvalidMetadataSchema,
  'invalid_name' => InvalidName,
  'invalid_name_maxlength' => InvalidNameMaxlength,
  'invalid_name_punctuation' => InvalidNamePunctuation,
  'invalid_name_required' => InvalidNameRequired,
  'invalid_name_specials' => InvalidNameSpecials,
  'invalid_named_entities' => InvalidNamedEntities,
  'invalid_outputs' => InvalidOutputs,
  'invalid_parameters' => InvalidParameters,
  'invalid_parent_type' => InvalidParentType,
  'invalid_payload' => InvalidPayload,
  'invalid_permission_type' => InvalidPermissionType,
  'invalid_permissions' => InvalidPermissions,
  'invalid_post_type' => InvalidPostType,
  'invalid_presence' => InvalidPresence,
  'invalid_privacy' => InvalidPrivacy,
  'invalid_profile' => InvalidProfile,
  'invalid_recipient_team' => InvalidRecipientTeam,
  'invalid_refresh_token' => InvalidRefreshToken,
  'invalid_request' => InvalidRequest,
  'invalid_request_id' => InvalidRequestId,
  'invalid_restricted_subjects' => InvalidRestrictedSubjects,
  'invalid_role_for_user' => InvalidRoleForUser,
  'invalid_role_id' => InvalidRoleId,
  'invalid_scheduled_message_id' => InvalidScheduledMessageId,
  'invalid_scopes' => InvalidScopes,
  'invalid_search_channel_type' => InvalidSearchChannelType,
  'invalid_setting' => InvalidSetting,
  'invalid_sort' => InvalidSort,
  'invalid_sort_dir' => InvalidSortDir,
  'invalid_source' => InvalidSource,
  'invalid_start_time' => InvalidStartTime,
  'invalid_step_status' => InvalidStepStatus,
  'invalid_target_team' => InvalidTargetTeam,
  'invalid_team' => InvalidTeam,
  'invalid_team_id' => InvalidTeamId,
  'invalid_team_ids' => InvalidTeamIds,
  'invalid_thread_ts' => InvalidThreadTs,
  'invalid_time' => InvalidTime,
  'invalid_timestamp' => InvalidTimestamp,
  'invalid_title' => InvalidTitle,
  'invalid_token' => InvalidToken,
  'invalid_trigger' => InvalidTrigger,
  'invalid_trigger_id' => InvalidTriggerId,
  'invalid_ts_latest' => InvalidTsLatest,
  'invalid_ts_oldest' => InvalidTsOldest,
  'invalid_type' => InvalidType,
  'invalid_types' => InvalidTypes,
  'invalid_unfurl_id' => InvalidUnfurlId,
  'invalid_unfurls_format' => InvalidUnfurlsFormat,
  'invalid_url' => InvalidUrl,
  'invalid_user' => InvalidUser,
  'invalid_user_combination' => InvalidUserCombination,
  'invalid_user_id' => InvalidUserId,
  'invalid_users' => InvalidUsers,
  'invalid_value' => InvalidValue,
  'invalid_visibility' => InvalidVisibility,
  'invalid_workflow_auth_strategy' => InvalidWorkflowAuthStrategy,
  'invalid_workspace_filter' => InvalidWorkspaceFilter,
  'invite_from_same_org' => InviteFromSameOrg,
  'invite_lookup_error' => InviteLookupError,
  'invite_not_found' => InviteNotFound,
  'invite_used' => InviteUsed,
  'invited_user_not_created' => InvitedUserNotCreated,
  'invited_user_not_reactivated' => InvitedUserNotReactivated,
  'invitee_cant_see_channel' => InviteeCantSeeChannel,
  'invitor_cannot_see_channel' => InvitorCannotSeeChannel,
  'is_archived' => IsArchived,
  'is_bot' => IsBot,
  'is_idp_managed' => IsIdpManaged,
  'is_inactive' => IsInactive,
  'is_pending_connected_to_org' => IsPendingConnectedToOrg,
  'last_member' => LastMember,
  'leaving_team_not_in_channel' => LeavingTeamNotInChannel,
  'leaving_team_required' => LeavingTeamRequired,
  'legacy_connection_invalid_org' => LegacyConnectionInvalidOrg,
  'legacy_connection_limit_exceeded' => LegacyConnectionLimitExceeded,
  'limit_required' => LimitRequired,
  'link_not_found' => LinkNotFound,
  'malware_detected' => MalwareDetected,
  'managed_channel_not_supported' => ManagedChannelNotSupported,
  'member_analytics_disabled' => MemberAnalyticsDisabled,
  'member_limit_exceeded' => MemberLimitExceeded,
  'message_limit_exceeded' => MessageLimitExceeded,
  'message_not_found' => MessageNotFound,
  'message_too_long' => MessageTooLong,
  'messages_tab_disabled' => MessagesTabDisabled,
  'metadata_must_be_sent_from_app' => MetadataMustBeSentFromApp,
  'metadata_not_available' => MetadataNotAvailable,
  'metadata_only_does_not_support_date' => MetadataOnlyDoesNotSupportDate,
  'metadata_too_large' => MetadataTooLarge,
  'method_deprecated' => MethodDeprecated,
  'method_not_supported' => MethodNotSupported,
  'method_not_supported_for_channel_type' => MethodNotSupportedForChannelType,
  'migration_in_progress' => MigrationInProgress,
  'missing_args' => MissingArgs,
  'missing_argument' => MissingArgument,
  'missing_channel' => MissingChannel,
  'missing_dialog' => MissingDialog,
  'missing_duration' => MissingDuration,
  'missing_file_data' => MissingFileData,
  'missing_post_type' => MissingPostType,
  'missing_profile_id' => MissingProfileId,
  'missing_resource' => MissingResource,
  'missing_scope' => MissingScope,
  'missing_source' => MissingSource,
  'missing_step_ids' => MissingStepIds,
  'missing_subteam_name' => MissingSubteamName,
  'missing_target_team' => MissingTargetTeam,
  'missing_team' => MissingTeam,
  'missing_trigger' => MissingTrigger,
  'missing_ts' => MissingTs,
  'missing_unfurl_id' => MissingUnfurlId,
  'missing_unfurls' => MissingUnfurls,
  'missing_user' => MissingUser,
  'msg_blocks_too_long' => MsgBlocksTooLong,
  'msg_too_long' => MsgTooLong,
  'must_clear_both_status_text_and_status_emoji' => MustClearBothStatusTextAndStatusEmoji,
  'must_provide_team_domain' => MustProvideTeamDomain,
  'must_provide_team_name' => MustProvideTeamName,
  'must_revoke_access' => MustRevokeAccess,
  'name_already_exists' => NameAlreadyExists,
  'name_not_allowed' => NameNotAllowed,
  'name_taken' => NameTaken,
  'name_taken_in_org' => NameTakenInOrg,
  'name_too_long' => NameTooLong,
  'named_entities_cannot_be_empty' => NamedEntitiesCannotBeEmpty,
  'no_active_sessions' => NoActiveSessions,
  'no_alias_selected' => NoAliasSelected,
  'no_bot_user_for_app' => NoBotUserForApp,
  'no_channel' => NoChannel,
  'no_channel_memberships' => NoChannelMemberships,
  'no_domains_provided' => NoDomainsProvided,
  'no_dual_broadcast_content_update' => NoDualBroadcastContentUpdate,
  'no_external_invite_permission' => NoExternalInvitePermission,
  'no_image_uploaded' => NoImageUploaded,
  'no_item_specified' => NoItemSpecified,
  'no_local_user_on_team' => NoLocalUserOnTeam,
  'no_permission' => NoPermission,
  'no_pin' => NoPin,
  'no_reaction' => NoReaction,
  'no_refresh_token' => NoRefreshToken,
  'no_resolution_found' => NoResolutionFound,
  'no_scopes' => NoScopes,
  'no_such_subteam' => NoSuchSubteam,
  'no_team_ids_given' => NoTeamIdsGiven,
  'no_teams_to_disconnect' => NoTeamsToDisconnect,
  'no_text' => NoText,
  'no_tokens_found' => NoTokensFound,
  'no_user' => NoUser,
  'no_users_provided' => NoUsersProvided,
  'no_valid_channels' => NoValidChannels,
  'no_valid_entities' => NoValidEntities,
  'no_valid_named_entities' => NoValidNamedEntities,
  'no_valid_teams' => NoValidTeams,
  'no_valid_users' => NoValidUsers,
  'not_admin' => NotAdmin,
  'not_allowed' => NotAllowed,
  'not_allowed_for_grid_workspace' => NotAllowedForGridWorkspace,
  'not_allowed_token_type' => NotAllowedTokenType,
  'not_an_admin' => NotAnAdmin,
  'not_an_enterprise' => NotAnEnterprise,
  'not_app_admin' => NotAppAdmin,
  'not_archived' => NotArchived,
  'not_authed' => NotAuthed,
  'not_authorized' => NotAuthorized,
  'not_bearer_token' => NotBearerToken,
  'not_enabled' => NotEnabled,
  'not_enough_users' => NotEnoughUsers,
  'not_enterprise_team' => NotEnterpriseTeam,
  'not_found' => NotFound,
  'not_implemented' => NotImplemented,
  'not_in_channel' => NotInChannel,
  'not_in_dnd' => NotInDnd,
  'not_owner' => NotOwner,
  'not_paid' => NotPaid,
  'not_pinnable' => NotPinnable,
  'not_pinned' => NotPinned,
  'not_reactable' => NotReactable,
  'not_starred' => NotStarred,
  'not_supported' => NotSupported,
  'not_visible' => NotVisible,
  'oauth_authorization_url_mismatch' => OauthAuthorizationUrlMismatch,
  'one_or_more_invalid_channels' => OneOrMoreInvalidChannels,
  'org_level_email_display_disabled' => OrgLevelEmailDisplayDisabled,
  'org_login_required' => OrgLoginRequired,
  'org_not_connected' => OrgNotConnected,
  'org_not_found' => OrgNotFound,
  'org_resolution_required' => OrgResolutionRequired,
  'org_user_not_in_team' => OrgUserNotInTeam,
  'over_max_entity_limit' => OverMaxEntityLimit,
  'over_pagination_limit' => OverPaginationLimit,
  'pagination_not_available' => PaginationNotAvailable,
  'paid_only' => PaidOnly,
  'paid_teams_only' => PaidTeamsOnly,
  'parameter_validation_failed' => ParameterValidationFailed,
  'parent_bookmark_disabled' => ParentBookmarkDisabled,
  'parent_with_link' => ParentWithLink,
  'partial_failure' => PartialFailure,
  'partial_profile_set_failed' => PartialProfileSetFailed,
  'permission_denied' => PermissionDenied,
  'permission_type_required' => PermissionTypeRequired,
  'plan_upgrade_required' => PlanUpgradeRequired,
  'policy_not_found' => PolicyNotFound,
  'post_contents_too_large' => PostContentsTooLarge,
  'posting_to_channel_denied' => PostingToChannelDenied,
  'posting_to_general_channel_denied' => PostingToGeneralChannelDenied,
  'preview_feature_not_available' => PreviewFeatureNotAvailable,
  'primary_usergroup_not_found' => PrimaryUsergroupNotFound,
  'profile_set_failed' => ProfileSetFailed,
  'providers_not_found' => ProvidersNotFound,
  'public_video_not_allowed' => PublicVideoNotAllowed,
  'published_app_only' => PublishedAppOnly,
  'push_limit_reached' => PushLimitReached,
  'rate_limited' => RateLimited,
  'ratelimit' => Ratelimit,
  'ratelimited' => Ratelimited,
  'recipients_not_specified' => RecipientsNotSpecified,
  'request_already_resolved' => RequestAlreadyResolved,
  'request_id_or_app_id_is_required' => RequestIdOrAppIdIsRequired,
  'request_id_required_for_custom_integrations' => RequestIdRequiredForCustomIntegrations,
  'request_timeout' => RequestTimeout,
  'reserved_name' => ReservedName,
  'resized_but_still_too_large' => ResizedButStillTooLarge,
  'restricted_action' => RestrictedAction,
  'restricted_action_non_threadable_channel' => RestrictedActionNonThreadableChannel,
  'restricted_action_read_only_channel' => RestrictedActionReadOnlyChannel,
  'restricted_action_thread_locked' => RestrictedActionThreadLocked,
  'restricted_action_thread_only_channel' => RestrictedActionThreadOnlyChannel,
  'restricted_too_many' => RestrictedTooMany,
  'retention_override_not_allowed' => RetentionOverrideNotAllowed,
  'sent_recently' => SentRecently,
  'service_unavailable' => ServiceUnavailable,
  'session_expired' => SessionExpired,
  'session_invalidation_failed' => SessionInvalidationFailed,
  'session_not_found' => SessionNotFound,
  'session_reset_not_allowed' => SessionResetNotAllowed,
  'shared_channel_denied' => SharedChannelDenied,
  'slack_connect_blocked_file_type' => SlackConnectBlockedFileType,
  'slack_connect_canvas_sharing_blocked' => SlackConnectCanvasSharingBlocked,
  'slack_connect_clip_sharing_blocked' => SlackConnectClipSharingBlocked,
  'slack_connect_file_link_sharing_blocked' => SlackConnectFileLinkSharingBlocked,
  'slack_connect_file_upload_sharing_blocked' => SlackConnectFileUploadSharingBlocked,
  'slack_connect_lists_sharing_blocked' => SlackConnectListsSharingBlocked,
  'snippet_too_large' => SnippetTooLarge,
  'snooze_end_failed' => SnoozeEndFailed,
  'snooze_failed' => SnoozeFailed,
  'specify_enterprise_or_teams' => SpecifyEnterpriseOrTeams,
  'storage_limit_reached' => StorageLimitReached,
  'subteam_max_users_exceeded' => SubteamMaxUsersExceeded,
  'sudo_required' => SudoRequired,
  'target_team_must_be_specified_in_org_context' => TargetTeamMustBeSpecifiedInOrgContext,
  'target_team_not_found' => TargetTeamNotFound,
  'target_team_not_on_org' => TargetTeamNotOnOrg,
  'team_access_not_granted' => TeamAccessNotGranted,
  'team_added_to_org' => TeamAddedToOrg,
  'team_id_or_org_required' => TeamIdOrOrgRequired,
  'team_id_required_for_enterprise' => TeamIdRequiredForEnterprise,
  'team_not_connected' => TeamNotConnected,
  'team_not_found' => TeamNotFound,
  'team_not_on_enterprise' => TeamNotOnEnterprise,
  'team_quota_exceeded' => TeamQuotaExceeded,
  'teams_not_found' => TeamsNotFound,
  'template_not_visible' => TemplateNotVisible,
  'thread_locked' => ThreadLocked,
  'thread_not_found' => ThreadNotFound,
  'time_in_past' => TimeInPast,
  'time_too_far' => TimeTooFar,
  'token_already_exchanged' => TokenAlreadyExchanged,
  'token_expired' => TokenExpired,
  'token_not_found' => TokenNotFound,
  'token_revoked' => TokenRevoked,
  'token_rotation_not_enabled' => TokenRotationNotEnabled,
  'too_large' => TooLarge,
  'too_long' => TooLong,
  'too_many_attachments' => TooManyAttachments,
  'too_many_bookmarks' => TooManyBookmarks,
  'too_many_contact_cards' => TooManyContactCards,
  'too_many_domains_provided' => TooManyDomainsProvided,
  'too_many_emails' => TooManyEmails,
  'too_many_emoji' => TooManyEmoji,
  'too_many_entities' => TooManyEntities,
  'too_many_frames' => TooManyFrames,
  'too_many_ids' => TooManyIds,
  'too_many_ids_provided' => TooManyIdsProvided,
  'too_many_linked_channels' => TooManyLinkedChannels,
  'too_many_members' => TooManyMembers,
  'too_many_named_entities' => TooManyNamedEntities,
  'too_many_pins' => TooManyPins,
  'too_many_reactions' => TooManyReactions,
  'too_many_target_teams' => TooManyTargetTeams,
  'too_many_teams' => TooManyTeams,
  'too_many_teams_provided' => TooManyTeamsProvided,
  'too_many_users' => TooManyUsers,
  'trigger_exchanged' => TriggerExchanged,
  'trigger_expired' => TriggerExpired,
  'trigger_not_found' => TriggerNotFound,
  'trigger_type_id_not_found' => TriggerTypeIdNotFound,
  'two_factor_setup_required' => TwoFactorSetupRequired,
  'unable_to_delete' => UnableToDelete,
  'unable_to_fetch_custom_emojis' => UnableToFetchCustomEmojis,
  'unable_to_link_idp_group_and_channel' => UnableToLinkIdpGroupAndChannel,
  'unable_to_process_post_request' => UnableToProcessPostRequest,
  'unable_to_unlink_idp_group_and_channel' => UnableToUnlinkIdpGroupAndChannel,
  'unable_to_update_existing_sessions' => UnableToUpdateExistingSessions,
  'unknown_app_id' => UnknownAppId,
  'unknown_error' => UnknownError,
  'unknown_function_id' => UnknownFunctionId,
  'unknown_method' => UnknownMethod,
  'unknown_snippet_type' => UnknownSnippetType,
  'unknown_step_id' => UnknownStepId,
  'unknown_subtype' => UnknownSubtype,
  'unknown_type' => UnknownType,
  'unknown_workflow_id' => UnknownWorkflowId,
  'unsupported_action_describe' => UnsupportedActionDescribe,
  'unsupported_action_put' => UnsupportedActionPut,
  'unsupported_arguments' => UnsupportedArguments,
  'unsupported_context_type' => UnsupportedContextType,
  'unsupported_team_type' => UnsupportedTeamType,
  'update_failed' => UpdateFailed,
  'ura_max_channels' => UraMaxChannels,
  'url_in_message' => UrlInMessage,
  'url_restriction_not_supported' => UrlRestrictionNotSupported,
  'user_already_deleted' => UserAlreadyDeleted,
  'user_already_team_member' => UserAlreadyTeamMember,
  'user_cannot_create_channel' => UserCannotCreateChannel,
  'user_cannot_manage_workspace' => UserCannotManageWorkspace,
  'user_disabled' => UserDisabled,
  'user_does_not_own_channel' => UserDoesNotOwnChannel,
  'user_is_already_deleted' => UserIsAlreadyDeleted,
  'user_is_bot' => UserIsBot,
  'user_is_not_a_guest' => UserIsNotAGuest,
  'user_is_restricted' => UserIsRestricted,
  'user_is_ultra_restricted' => UserIsUltraRestricted,
  'user_must_be_admin' => UserMustBeAdmin,
  'user_must_be_in_workspace' => UserMustBeInWorkspace,
  'user_not_found' => UserNotFound,
  'user_not_in_channel' => UserNotInChannel,
  'user_not_visible' => UserNotVisible,
  'user_required_to_accept_as_private_but_cannot' => UserRequiredToAcceptAsPrivateButCannot,
  'user_session_reset_failed' => UserSessionResetFailed,
  'usergroup_not_found' => UsergroupNotFound,
  'usergroup_not_linked_to_team' => UsergroupNotLinkedToTeam,
  'usergroup_team_not_provisioned' => UsergroupTeamNotProvisioned,
  'users_list_not_supplied' => UsersListNotSupplied,
  'users_not_found' => UsersNotFound,
  'validation_errors' => ValidationErrors,
  'view_too_large' => ViewTooLarge,
  'visibility_is_not_named_entities' => VisibilityIsNotNamedEntities,
  'workflows_export_csv_not_enabled' => WorkflowsExportCsvNotEnabled,
}.freeze