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, Accesslimited, AccountInactive, AdminUnauthorized, AlreadyApproved, AlreadyArchived, AlreadyInChannel, AlreadyInTeam, AlreadyInTeamInvitedUser, AlreadyInvited, AlreadyPinned, AlreadyProcessed, AlreadyReacted, AlreadyStarred, AppManagementAppNotInstalledOnOrg, AppMissingActionUrl, AppNotFound, AppRestrictedOrgWide, ApprovalInactive, ApprovalNotFound, AsUserNotSupported, AtLeastOneSessionSettingRequired, AuthMismatch, AutoProvisionFailure, BadClientSecret, BadHandle, BadImage, BadRedirectUri, BadTimestamp, BadTitle, BadToken, BadUrl, BadUsers, BarrierAlreadyExists, BarrierNotFound, BarrieredFromUsergroupsNotFound, BotNotFound, BotUserRequired, BotsNotAllowed, BotsNotFound, CanNotUninstall, CannotAddBot, CannotAddLegacyDisconnectedChannelToWorkspaces, CannotAddMoreChannelsToGroup, CannotAddMoreGroupsToChannel, CannotAddOthers, CannotAddOthersRecurring, CannotAddProfileOnlyUser, CannotAddSlackbot, CannotAuthUser, CannotCompleteOthers, CannotCompleteRecurring, CannotCreateChannel, CannotCreateDialog, CannotFindChannel, CannotFindMessage, CannotFindService, CannotInstallAnOrgInstalledApp, CannotInvalidatePrimaryOwner, CannotKickHomeTeam, CannotKickTeam, CannotModifyPrimaryOwner, CannotMoveLocalChannel, CannotParse, CannotParseAttachment, CannotPrompt, CannotResetBot, CannotResetPrimaryOwner, CannotSetBothNumMinutesAndIsIndefinite, CannotSetThisGuestToRegularAtTeamLevel, CannotShareCrossWorkspaceChannel, CannotShareMandatoryChannel, CannotUnfurlMessage, CannotUnfurlUrl, CannotUpdateAdminUser, CantArchiveGeneral, CantArchiveRequired, CantBroadcastMessage, CantDelete, CantDeleteFile, CantDeleteMessage, CantInvite, CantInviteSelf, CantKickFromGeneral, CantKickSelf, CantLeaveGeneral, CantUpdateMessage, ChannelArchived, ChannelCannotBeUnshared, ChannelConversionInProgress, ChannelIsNotPrivate, ChannelMentionSyncRequired, ChannelNotArchived, ChannelNotFound, ChannelTypeNotSupported, ClientIdTokenMismatch, CodeAlreadyUsed, ComplianceExportsPreventDeletion, ConnectionLimitExceeded, ConnectionLimitExceededPending, CouldNotArchiveChannel, CouldNotConvertChannel, CouldNotCreateChannel, CouldNotCreateWorkspace, CouldNotDeleteChannel, CouldNotGetConversationPrefs, CouldNotGetRetention, CouldNotGetTeams, CouldNotRemoveRetention, CouldNotRenameChannel, CouldNotSetChannelPref, CouldNotSetRetention, CouldNotSetTeamsForChannel, CouldNotUnarchiveChannel, CustomIntegrationNotAllowedAtEnterprise, DataNotAvailable, DefaultChannelRestricted, DefaultOrgWideChannel, DeprecatedEndpoint, DescriptionTooLong, DiscoverabilitySettingInvalid, DomainTaken, DuplicateChannelNotFound, DuplicateExternalId, DuplicateMessageNotFound, EditWindowClosed, EkmAccessDenied, EmailDoesNotMatch, EmailTaken, EmojiLimitReached, EmojiNotFound, EnterpriseIsRestricted, EnterpriseNotFound, EntityNotFound, ErrorBadFormat, ErrorBadNameI18n, ErrorBadUpload, ErrorBadWide, ErrorInvalidAlias, ErrorInvalidEmojiToRename, ErrorMissingName, ErrorNameTaken, ErrorNameTakenI18n, ErrorNoImage, ErrorTooBig, ExchangedTriggerId, ExpiredTriggerId, ExternalChannelMigrating, ExternallySharedOrDisconnectedChannel, FailToGetTeamsForRestrictedUser, FailedAddingCollaborator, FailedCreatingApp, FailedExport, FailedForSomeUsers, FailedLookingUpUser, FailedSendingDialog, FailedToAddEmoji, FailedToAliasEmoji, FailedToFetchActiveTeam, FailedToFetchInfo, FailedToRemoveGroupUsers, FailedToRemoveUserFromWorkspace, FailedToRenameEmoji, FailedToSendInvite, FailedToSetDefaultChannels, FailedToSetDescription, FailedToSetDiscoverability, FailedToSetExpiration, FailedToSetIcon, FailedToSetName, FailedToSetUserToAdmin, FailedToSetUserToOwner, FailedToSetUserToRegular, FailedToUnlinkChannel, FailedToUnshare, FailedToValidateCaller, FailedToValidateChannels, FailedToValidateCustomMessage, FailedToValidateExpiration, FailedToValidateTeam, FailureRemovingEmoji, FatalError, FeatureNotEnabled, FetchMembersFailed, FileCommentNotFound, FileDeleted, FileDeletingDisabled, FileNotFound, FileNotShared, FileNotYetAvailable, FileUnderReview, ForbiddenHandle, ForbiddenTeam, GroupAlreadyLinkedToChannel, GroupMustNotBeEmpty, GroupNotFound, HandleAlreadyExists, HasAlreadyConnectedToOrg, HashConflict, HttpRequestError, InactiveCall, InactiveInvite, InsecureRequest, InternalError, InvalidAction, InvalidActor, InvalidApp, InvalidAppId, InvalidArgName, InvalidArgs, InvalidArguments, InvalidArrayArg, InvalidAttachments, InvalidAuth, InvalidBlocks, InvalidBlocksFormat, InvalidCallId, InvalidChannel, InvalidChannelId, InvalidChannelProvided, InvalidChannelType, InvalidChannelsLimit, InvalidCharset, InvalidClientId, InvalidCode, InvalidCreatedBy, InvalidCursor, InvalidDate, InvalidDuration, InvalidEmail, InvalidEmojiNotAllowed, InvalidEventContext, InvalidExternalId, InvalidFormData, InvalidGrantType, InvalidGroupProvided, InvalidHostTeam, InvalidInputs, InvalidLimit, InvalidLink, InvalidManifest, InvalidMetadataFilterKeys, InvalidName, InvalidNameMaxlength, InvalidNamePunctuation, InvalidNameRequired, InvalidNameSpecials, InvalidOutputs, InvalidPayload, InvalidPermissions, InvalidPostType, InvalidPresence, InvalidPrivacy, InvalidProfile, InvalidRefreshToken, InvalidRequest, InvalidRequestId, InvalidRestrictedSubjects, InvalidRoleForUser, InvalidScheduledMessageId, InvalidScopes, InvalidSearchChannelType, InvalidSort, InvalidSortDir, InvalidSource, InvalidStartTime, InvalidStepStatus, InvalidTargetTeam, InvalidTeam, InvalidTeamIds, InvalidTime, InvalidTimestamp, InvalidTitle, InvalidToken, InvalidTrigger, InvalidTriggerId, InvalidTsLatest, InvalidTsOldest, InvalidType, InvalidTypes, InvalidUnfurlId, InvalidUnfurlsFormat, InvalidUrl, InvalidUser, InvalidUserCombination, InvalidUserId, InvalidUsers, InvalidValue, InviteFromSameOrg, InviteLookupError, InviteNotFound, InviteUsed, InvitedUserNotCreated, InvitedUserNotReactivated, InviteeCantSeeChannel, IsArchived, IsBot, IsInactive, IsPendingConnectedToOrg, LastMember, LeavingTeamNotInChannel, LeavingTeamRequired, LegacyConnectionInvalidOrg, LegacyConnectionLimitExceeded, LimitRequired, LinkNotFound, MalwareDetected, MemberAnalyticsDisabled, MemberLimitExceeded, MessageNotFound, MessageTooLong, MessagesTabDisabled, MetadataNotAvailable, MetadataOnlyDoesNotSupportDate, MethodDeprecated, MethodNotSupportedForChannelType, MigrationInProgress, MissingArgs, MissingArgument, MissingChannel, MissingDialog, MissingDuration, MissingPostType, MissingProfileId, MissingResource, MissingScope, MissingSource, MissingSubteamName, MissingTargetTeam, MissingTeam, MissingTrigger, MissingTs, MissingUnfurlId, MissingUnfurls, MissingUser, MsgTooLong, MustClearBothStatusTextAndStatusEmoji, MustProvideTeamDomain, MustProvideTeamName, MustRevokeAccess, NameAlreadyExists, NameTaken, NameTakenInOrg, NameTooLong, NoActiveSessions, NoAliasSelected, NoBotUserForApp, NoChannel, NoDualBroadcastContentUpdate, NoImageUploaded, NoItemSpecified, NoLocalUserOnTeam, NoPermission, NoPin, NoReaction, NoResolutionFound, NoScopes, NoSuchSubteam, NoTeamIdsGiven, NoTeamsToDisconnect, NoText, NoUser, NoUserProvided, NoUsersProvided, 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, OauthAuthorizationUrlMismatch, OneOrMoreInvalidChannels, OrgLevelEmailDisplayDisabled, OrgLoginRequired, OrgNotFound, OrgUserNotInTeam, OverMaxEntityLimit, OverPaginationLimit, PaginationNotAvailable, PaidOnly, PaidTeamsOnly, ParsingError, PermissionDenied, PlanUpgradeRequired, PolicyNotFound, PostingToGeneralChannelDenied, PreviewFeatureNotAvailable, PrimaryUsergroupNotFound, ProfileSetFailed, PublicVideoNotAllowed, PublishedAppOnly, PushLimitReached, RateLimited, Ratelimit, Ratelimited, RequestAlreadyResolved, RequestIdOrAppIdIsRequired, RequestIdRequiredForCustomIntegrations, RequestTimeout, ReservedName, ResizedButStillTooLarge, RestrictedAction, RestrictedActionNonThreadableChannel, RestrictedActionReadOnlyChannel, RestrictedActionThreadLocked, RestrictedActionThreadOnlyChannel, RetentionOverrideNotAllowed, RtmConnectRequired, SentRecently, ServerError, ServiceUnavailable, SessionExpired, SessionInvalidationFailed, SessionNotFound, SessionResetNotAllowed, SlackConnectBlockedFileType, SlackConnectClipSharingBlocked, SlackConnectFileLinkSharingBlocked, SlackConnectFileUploadSharingBlocked, SlackError, SnoozeEndFailed, SnoozeFailed, SnoozeNotActive, SpecifyEnterpriseOrTeams, SubteamMaxUsersExceeded, TeamAccessNotGranted, TeamAddedToOrg, TeamIdOrOrgRequired, TeamIdRequiredForEnterprise, TeamNotFound, TeamNotOnEnterprise, TeamsNotFound, ThreadLocked, ThreadNotFound, TimeInPast, TimeTooFar, TimeoutError, TokenAlreadyExchanged, TokenExpired, TokenRevoked, TokenRotationNotEnabled, TooLarge, TooLong, TooManyAttachments, TooManyContactCards, TooManyConvosForAppOnTeam, TooManyConvosForTeam, TooManyEmails, TooManyEmoji, TooManyFrames, TooManyIds, TooManyIdsProvided, TooManyLinkedChannels, TooManyMembers, TooManyPins, TooManyReactions, TooManyRequestsError, TooManyTargetTeams, TooManyTeams, TooManyTeamsProvided, TooManyUsers, TriggerExchanged, TriggerExpired, TwoFactorSetupRequired, UnableToLinkIdpGroupAndChannel, UnableToUnlinkIdpGroupAndChannel, UnableToUpdateExistingSessions, UnavailableError, UnknownError, UnknownMethod, UnknownType, UnsupportedArguments, UnsupportedContextType, UnsupportedTeamType, UpdateFailed, UraMaxChannels, UrlInMessage, UserAlreadyDeleted, UserAlreadyTeamMember, UserCannotCreateChannel, UserDisabled, UserDoesNotOwnChannel, UserIsAlreadyDeleted, UserIsBot, UserIsNotAGuest, UserIsRestricted, UserIsUltraRestricted, UserMustBeAdmin, UserMustBeInWorkspace, UserNotFound, UserNotInChannel, UserNotVisible, UserRequiredToAcceptAsPrivateButCannot, UserSessionResetFailed, UsergroupNotFound, UsergroupNotLinkedToTeam, UsergroupTeamNotProvisioned, UsersListNotSupplied, UsersNotFound, ValidationErrors, ViewTooLarge

Constant Summary collapse

ERROR_CLASSES =
{
  'access_denied' => AccessDenied,
  'accesslimited' => Accesslimited,
  'account_inactive' => AccountInactive,
  '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,
  'app_management_app_not_installed_on_org' => AppManagementAppNotInstalledOnOrg,
  'app_missing_action_url' => AppMissingActionUrl,
  'app_not_found' => AppNotFound,
  'app_restricted_org_wide' => AppRestrictedOrgWide,
  'approval_inactive' => ApprovalInactive,
  'approval_not_found' => ApprovalNotFound,
  'as_user_not_supported' => AsUserNotSupported,
  'at_least_one_session_setting_required' => AtLeastOneSessionSettingRequired,
  'auth_mismatch' => AuthMismatch,
  '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,
  '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_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_reset_bot' => CannotResetBot,
  'cannot_reset_primary_owner' => CannotResetPrimaryOwner,
  'cannot_set_both_num_minutes_and_is_indefinite' => CannotSetBothNumMinutesAndIsIndefinite,
  '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,
  'channel_archived' => ChannelArchived,
  'channel_cannot_be_unshared' => ChannelCannotBeUnshared,
  'channel_conversion_in_progress' => ChannelConversionInProgress,
  'channel_is_not_private' => ChannelIsNotPrivate,
  'channel_mention_sync_required' => ChannelMentionSyncRequired,
  'channel_not_archived' => ChannelNotArchived,
  'channel_not_found' => ChannelNotFound,
  'channel_type_not_supported' => ChannelTypeNotSupported,
  'client_id_token_mismatch' => ClientIdTokenMismatch,
  'code_already_used' => CodeAlreadyUsed,
  'compliance_exports_prevent_deletion' => ComplianceExportsPreventDeletion,
  '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_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,
  'default_channel_restricted' => DefaultChannelRestricted,
  'default_org_wide_channel' => DefaultOrgWideChannel,
  '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_taken' => EmailTaken,
  'emoji_limit_reached' => EmojiLimitReached,
  'emoji_not_found' => EmojiNotFound,
  'enterprise_is_restricted' => EnterpriseIsRestricted,
  'enterprise_not_found' => EnterpriseNotFound,
  'entity_not_found' => EntityNotFound,
  '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_too_big' => ErrorTooBig,
  'exchanged_trigger_id' => ExchangedTriggerId,
  'expired_trigger_id' => ExpiredTriggerId,
  'external_channel_migrating' => ExternalChannelMigrating,
  'externally_shared_or_disconnected_channel' => ExternallySharedOrDisconnectedChannel,
  'fail_to_get_teams_for_restricted_user' => FailToGetTeamsForRestrictedUser,
  'failed_adding_collaborator' => FailedAddingCollaborator,
  'failed_creating_app' => FailedCreatingApp,
  'failed_export' => FailedExport,
  'failed_for_some_users' => FailedForSomeUsers,
  '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_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_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,
  'forbidden_handle' => ForbiddenHandle,
  'forbidden_team' => ForbiddenTeam,
  '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,
  '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_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_client_id' => InvalidClientId,
  'invalid_code' => InvalidCode,
  'invalid_created_by' => InvalidCreatedBy,
  'invalid_cursor' => InvalidCursor,
  'invalid_date' => InvalidDate,
  'invalid_duration' => InvalidDuration,
  'invalid_email' => InvalidEmail,
  'invalid_emoji_not_allowed' => InvalidEmojiNotAllowed,
  'invalid_event_context' => InvalidEventContext,
  'invalid_external_id' => InvalidExternalId,
  '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_name' => InvalidName,
  'invalid_name_maxlength' => InvalidNameMaxlength,
  'invalid_name_punctuation' => InvalidNamePunctuation,
  'invalid_name_required' => InvalidNameRequired,
  'invalid_name_specials' => InvalidNameSpecials,
  'invalid_outputs' => InvalidOutputs,
  'invalid_payload' => InvalidPayload,
  'invalid_permissions' => InvalidPermissions,
  'invalid_post_type' => InvalidPostType,
  'invalid_presence' => InvalidPresence,
  'invalid_privacy' => InvalidPrivacy,
  'invalid_profile' => InvalidProfile,
  'invalid_refresh_token' => InvalidRefreshToken,
  'invalid_request' => InvalidRequest,
  'invalid_request_id' => InvalidRequestId,
  'invalid_restricted_subjects' => InvalidRestrictedSubjects,
  'invalid_role_for_user' => InvalidRoleForUser,
  'invalid_scheduled_message_id' => InvalidScheduledMessageId,
  'invalid_scopes' => InvalidScopes,
  'invalid_search_channel_type' => InvalidSearchChannelType,
  '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_ids' => InvalidTeamIds,
  '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,
  '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,
  'is_archived' => IsArchived,
  'is_bot' => IsBot,
  '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,
  'member_analytics_disabled' => MemberAnalyticsDisabled,
  'member_limit_exceeded' => MemberLimitExceeded,
  'message_not_found' => MessageNotFound,
  'message_too_long' => MessageTooLong,
  'messages_tab_disabled' => MessagesTabDisabled,
  'metadata_not_available' => MetadataNotAvailable,
  'metadata_only_does_not_support_date' => MetadataOnlyDoesNotSupportDate,
  'method_deprecated' => MethodDeprecated,
  '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_post_type' => MissingPostType,
  'missing_profile_id' => MissingProfileId,
  'missing_resource' => MissingResource,
  'missing_scope' => MissingScope,
  'missing_source' => MissingSource,
  '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_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_taken' => NameTaken,
  'name_taken_in_org' => NameTakenInOrg,
  'name_too_long' => NameTooLong,
  'no_active_sessions' => NoActiveSessions,
  'no_alias_selected' => NoAliasSelected,
  'no_bot_user_for_app' => NoBotUserForApp,
  'no_channel' => NoChannel,
  'no_dual_broadcast_content_update' => NoDualBroadcastContentUpdate,
  'no_image_uploaded' => NoImageUploaded,
  'no_item_specified' => NoItemSpecified,
  'no_local_user_on_team' => NoLocalUserOnTeam,
  'no_permission' => NoPermission,
  'no_pin' => NoPin,
  'no_reaction' => NoReaction,
  '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_user' => NoUser,
  'no_user_provided' => NoUserProvided,
  'no_users_provided' => NoUsersProvided,
  '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,
  'oauth_authorization_url_mismatch' => OauthAuthorizationUrlMismatch,
  'one_or_more_invalid_channels' => OneOrMoreInvalidChannels,
  'org_level_email_display_disabled' => OrgLevelEmailDisplayDisabled,
  'org_login_required' => OrgLoginRequired,
  'org_not_found' => OrgNotFound,
  '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,
  'permission_denied' => PermissionDenied,
  'plan_upgrade_required' => PlanUpgradeRequired,
  'policy_not_found' => PolicyNotFound,
  'posting_to_general_channel_denied' => PostingToGeneralChannelDenied,
  'preview_feature_not_available' => PreviewFeatureNotAvailable,
  'primary_usergroup_not_found' => PrimaryUsergroupNotFound,
  'profile_set_failed' => ProfileSetFailed,
  'public_video_not_allowed' => PublicVideoNotAllowed,
  'published_app_only' => PublishedAppOnly,
  'push_limit_reached' => PushLimitReached,
  'rate_limited' => RateLimited,
  'ratelimit' => Ratelimit,
  'ratelimited' => Ratelimited,
  '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,
  'retention_override_not_allowed' => RetentionOverrideNotAllowed,
  'rtm_connect_required' => RtmConnectRequired,
  'sent_recently' => SentRecently,
  'service_unavailable' => ServiceUnavailable,
  'session_expired' => SessionExpired,
  'session_invalidation_failed' => SessionInvalidationFailed,
  'session_not_found' => SessionNotFound,
  'session_reset_not_allowed' => SessionResetNotAllowed,
  'slack_connect_blocked_file_type' => SlackConnectBlockedFileType,
  'slack_connect_clip_sharing_blocked' => SlackConnectClipSharingBlocked,
  'slack_connect_file_link_sharing_blocked' => SlackConnectFileLinkSharingBlocked,
  'slack_connect_file_upload_sharing_blocked' => SlackConnectFileUploadSharingBlocked,
  'snooze_end_failed' => SnoozeEndFailed,
  'snooze_failed' => SnoozeFailed,
  'snooze_not_active' => SnoozeNotActive,
  'specify_enterprise_or_teams' => SpecifyEnterpriseOrTeams,
  'subteam_max_users_exceeded' => SubteamMaxUsersExceeded,
  'team_access_not_granted' => TeamAccessNotGranted,
  'team_added_to_org' => TeamAddedToOrg,
  'team_id_or_org_required' => TeamIdOrOrgRequired,
  'team_id_required_for_enterprise' => TeamIdRequiredForEnterprise,
  'team_not_found' => TeamNotFound,
  'team_not_on_enterprise' => TeamNotOnEnterprise,
  'teams_not_found' => TeamsNotFound,
  'thread_locked' => ThreadLocked,
  'thread_not_found' => ThreadNotFound,
  'time_in_past' => TimeInPast,
  'time_too_far' => TimeTooFar,
  'token_already_exchanged' => TokenAlreadyExchanged,
  'token_expired' => TokenExpired,
  'token_revoked' => TokenRevoked,
  'token_rotation_not_enabled' => TokenRotationNotEnabled,
  'too_large' => TooLarge,
  'too_long' => TooLong,
  'too_many_attachments' => TooManyAttachments,
  'too_many_contact_cards' => TooManyContactCards,
  'too_many_convos_for_app_on_team' => TooManyConvosForAppOnTeam,
  'too_many_convos_for_team' => TooManyConvosForTeam,
  'too_many_emails' => TooManyEmails,
  'too_many_emoji' => TooManyEmoji,
  'too_many_frames' => TooManyFrames,
  'too_many_ids' => TooManyIds,
  'too_many_ids_provided' => TooManyIdsProvided,
  'too_many_linked_channels' => TooManyLinkedChannels,
  'too_many_members' => TooManyMembers,
  '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,
  'two_factor_setup_required' => TwoFactorSetupRequired,
  'unable_to_link_idp_group_and_channel' => UnableToLinkIdpGroupAndChannel,
  'unable_to_unlink_idp_group_and_channel' => UnableToUnlinkIdpGroupAndChannel,
  'unable_to_update_existing_sessions' => UnableToUpdateExistingSessions,
  'unknown_error' => UnknownError,
  'unknown_method' => UnknownMethod,
  'unknown_type' => UnknownType,
  'unsupported_arguments' => UnsupportedArguments,
  'unsupported_context_type' => UnsupportedContextType,
  'unsupported_team_type' => UnsupportedTeamType,
  'update_failed' => UpdateFailed,
  'ura_max_channels' => UraMaxChannels,
  'url_in_message' => UrlInMessage,
  'user_already_deleted' => UserAlreadyDeleted,
  'user_already_team_member' => UserAlreadyTeamMember,
  'user_cannot_create_channel' => UserCannotCreateChannel,
  '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,
}.freeze