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/internal_error.rb,
lib/slack/web/api/errors/too_many_requests_error.rb

Defined Under Namespace

Classes: Accesslimited, AccountInactive, AdminUnauthorized, AlreadyArchived, AlreadyInChannel, AlreadyInTeam, AlreadyInTeamInvitedUser, AlreadyInvited, AlreadyPinned, AlreadyProcessed, AlreadyReacted, AlreadyStarred, AppManagementAppNotInstalledOnOrg, AppMissingActionUrl, AppRestrictedOrgWide, AsUserNotSupported, AuthedUserNotFound, AutoProvisionFailure, BadClientSecret, BadHandle, BadImage, BadRedirectUri, BadTimestamp, BadTitle, BadToken, BadUrl, BadUsers, BarrierAlreadyExists, BarrierNotFound, BarrieredFromUsergroupsNotFound, BotNotFound, BotsNotAllowed, BotsNotFound, CannotAddBot, CannotAddMoreChannelsToGroup, CannotAddMoreGroupsToChannel, CannotAddOthers, CannotAddOthersRecurring, CannotAddSlackbot, CannotAuthUser, CannotCompleteOthers, CannotCompleteRecurring, CannotCreateDialog, CannotFindChannel, CannotFindMessage, CannotFindService, CannotInstallAnOrgInstalledApp, CannotInvalidatePrimaryOwner, CannotModifyPrimaryOwner, CannotMoveLocalChannel, CannotParse, CannotParseAttachment, CannotPrompt, CannotResetBot, CannotResetPrimaryOwner, CannotUnfurlMessage, CannotUnfurlUrl, CannotUpdateAdminUser, CantArchiveGeneral, CantDelete, CantDeleteFile, CantDeleteMessage, CantInvite, CantInviteSelf, CantKickFromGeneral, CantKickSelf, CantLeaveGeneral, CantUpdateMessage, ChannelCannotBeUnshared, ChannelIsNotPrivate, ChannelNotArchived, ChannelNotFound, ChannelTypeNotSupported, ClientIdTokenMismatch, CodeAlreadyUsed, ComplianceExportsPreventDeletion, CouldNotArchiveChannel, CouldNotConvertChannel, CouldNotCreateChannel, CouldNotCreateWorkspace, CouldNotDeleteChannel, CouldNotGetConversationPrefs, CouldNotGetRetention, CouldNotGetTeams, CouldNotRemoveRetention, CouldNotRenameChannel, CouldNotSetChannelPref, CouldNotSetRetention, CouldNotSetTeamsForChannel, CouldNotUnarchiveChannel, DataNotAvailable, DefaultChannelRestricted, DefaultOrgWideChannel, DeprecatedEndpoint, DescriptionTooLong, DiscoverabilitySettingInvalid, DomainTaken, DuplicateChannelNotFound, DuplicateExternalId, DuplicateMessageNotFound, EditWindowClosed, EkmAccessDenied, EmailTaken, EmojiLimitReached, EmojiNotFound, EnterpriseIsRestricted, EnterpriseNotFound, ErrorBadFormat, ErrorBadNameI18n, ErrorBadUpload, ErrorBadWide, ErrorInvalidAlias, ErrorInvalidEmojiToRename, ErrorMissingName, ErrorNameTaken, ErrorNameTakenI18n, ErrorNoImage, ErrorTooBig, ExternalChannelMigrating, ExternallySharedOrDisconnectedChannel, FailToGetTeamsForRestrictedUser, FailedForSomeUsers, FailedLookingUpUser, FailedSendingDialog, FailedToAddEmoji, FailedToAliasEmoji, FailedToFetchActiveTeam, FailedToFetchInfo, FailedToRemoveGroupUsers, FailedToRemoveUserFromWorkspace, FailedToRenameEmoji, FailedToSendInvite, FailedToSetDefaultChannels, FailedToSetDescription, FailedToSetDiscoverability, FailedToSetExpiration, FailedToSetIcon, FailedToSetName, FailedToSetUserToAdmin, FailedToSetUserToOwner, FailedToSetUserToRegular, FailedToUnlinkChannel, FailedToValidateCaller, FailedToValidateChannels, FailedToValidateCustomMessage, FailedToValidateExpiration, FailedToValidateTeam, FailureRemovingEmoji, FatalError, FeatureNotEnabled, FetchMembersFailed, FileCommentNotFound, FileDeleted, FileDeletingDisabled, FileNotFound, FileNotShared, FileNotYetAvailable, FileUnderReview, ForbiddenHandle, ForbiddenTeam, GroupAlreadyLinkedToChannel, GroupMustNotBeEmpty, GroupNotFound, HandleAlreadyExists, HashConflict, HttpRequestError, InactiveCall, InsecureRequest, InternalError, InvalidActor, InvalidAppId, InvalidArgName, InvalidArgs, InvalidArguments, InvalidArrayArg, InvalidAttachments, InvalidAuth, InvalidBlocks, InvalidCallId, InvalidChannel, InvalidChannelId, InvalidChannelType, InvalidChannelsLimit, InvalidCharset, InvalidClientId, InvalidCode, InvalidCreatedBy, InvalidCursor, InvalidDate, InvalidDuration, InvalidEmail, InvalidEventContext, InvalidExternalId, InvalidFormData, InvalidGrantType, InvalidInputs, InvalidLimit, InvalidName, InvalidNameMaxlength, InvalidNamePunctuation, InvalidNameRequired, InvalidNameSpecials, InvalidOutputs, InvalidPayload, InvalidPermissions, InvalidPostType, InvalidPresence, InvalidProfile, InvalidRequest, InvalidRequestId, InvalidRestrictedSubjects, InvalidRoleForUser, InvalidScheduledMessageId, InvalidScope, InvalidScopes, InvalidSearchChannelType, InvalidSort, InvalidSortDir, InvalidStartTime, InvalidStepStatus, InvalidTargetTeam, InvalidTeam, InvalidTeamIds, InvalidTime, InvalidTimestamp, InvalidToken, InvalidTrigger, InvalidTsLatest, InvalidTsOldest, InvalidType, InvalidTypes, InvalidUnfurlsFormat, InvalidUrl, InvalidUser, InvalidUserCombination, InvalidUserId, InvalidUsers, InvitedUserNotCreated, InvitedUserNotReactivated, InviteeCantSeeChannel, IsArchived, IsBot, IsInactive, LastMember, LimitRequired, LinkNotFound, MemberAnalyticsDisabled, MessageNotFound, MetadataNotAvailable, MetadataOnlyDoesNotSupportDate, MethodDeprecated, MethodNotSupportedForChannelType, MigrationInProgress, MissingArgs, MissingArgument, MissingChannel, MissingDialog, MissingDuration, MissingPostType, MissingResource, MissingScope, MissingSubteamName, MissingTeam, MissingTrigger, MissingTs, MissingUnfurls, MissingUser, MixedScope, MsgTooLong, MustProvideTeamDomain, MustProvideTeamName, NameAlreadyExists, NameTaken, NameTakenInOrg, NoActiveSessions, NoAliasSelected, NoBotUserForApp, NoChannel, NoImageUploaded, NoItemSpecified, NoLocalUserOnTeam, NoPermission, NoPin, NoReaction, NoResolutionFound, NoScopes, NoSuchSubteam, NoTeamIdsGiven, NoText, NoUser, NoUserProvided, NoUsersProvided, NotAdmin, NotAllowed, NotAllowedForGridWorkspace, NotAllowedTokenType, NotAnAdmin, NotAnEnterprise, NotAppAdmin, NotArchived, NotAuthed, NotAuthorized, NotBearerToken, NotEnabled, NotEnoughUsers, NotEnterpriseTeam, NotFound, NotImplemented, NotInChannel, NotInDnd, NotPinnable, NotPinned, NotReactable, NotStarred, NotSupported, OauthAuthorizationUrlMismatch, OneOrMoreInvalidChannels, OrgLevelEmailDisplayDisabled, OrgLoginRequired, OrgNotFound, OrgUserNotInTeam, OverPaginationLimit, PaginationNotAvailable, PaidOnly, PaidTeamsOnly, ParsingError, PermissionDenied, PlanUpgradeRequired, PostingToGeneralChannelDenied, PreviewFeatureNotAvailable, PrimaryUsergroupNotFound, ProfileSetFailed, PublicVideoNotAllowed, PushLimitReached, RateLimited, Ratelimited, RequestAlreadyResolved, RequestIdOrAppIdIsRequired, RequestIdRequiredForCustomIntegrations, RequestTimeout, ReservedName, ResizedButStillTooLarge, RestrictedAction, RestrictedActionNonThreadableChannel, RestrictedActionReadOnlyChannel, RestrictedActionThreadOnlyChannel, RetentionOverrideNotAllowed, RtmConnectRequired, SentRecently, ServerError, ServiceUnavailable, SessionExpired, SessionInvalidationFailed, SessionNotFound, SlackConnectBlockedFileType, SlackConnectFileLinkSharingBlocked, SlackConnectFileUploadSharingBlocked, SlackError, SnoozeEndFailed, SnoozeFailed, SnoozeNotActive, SubteamMaxUsersExceeded, TeamAccessNotGranted, TeamAddedToOrg, TeamIdOrOrgRequired, TeamNotFound, TeamNotOnEnterprise, ThreadNotFound, TimeInPast, TimeTooFar, TimeoutError, TokenRevoked, TooLarge, TooLong, TooManyAttachments, TooManyConvosForAppOnTeam, TooManyConvosForTeam, TooManyEmoji, TooManyFrames, TooManyIds, TooManyIdsProvided, TooManyLinkedChannels, TooManyMembers, TooManyPins, TooManyReactions, TooManyRequestsError, TooManyTargetTeams, TooManyTeamsProvided, TooManyUsers, TriggerExchanged, TriggerExpired, TwoFactorSetupRequired, UnableToLeaveLastTeam, UnableToLinkIdpGroupAndChannel, UnableToUnlinkIdpGroupAndChannel, UnavailableError, UnknownMethod, UnknownType, UnsupportedArguments, UnsupportedContextType, UnsupportedTeamType, UpdateFailed, UraMaxChannels, UserAlreadyDeleted, UserAlreadyTeamMember, UserDisabled, UserDoesNotOwnChannel, UserIsAlreadyDeleted, UserIsBot, UserIsNotAGuest, UserIsRestricted, UserIsUltraRestricted, UserMustBeAdmin, UserNotFound, UserNotInChannel, UserNotVisible, UserSessionResetFailed, UsergroupNotFound, UsergroupNotLinkedToTeam, UsergroupTeamNotProvisioned, UsersListNotSupplied, UsersNotFound, ValidationErrors, ViewTooLarge

Constant Summary collapse

ERROR_CLASSES =
{
  'accesslimited' => Accesslimited,
  'account_inactive' => AccountInactive,
  'admin_unauthorized' => AdminUnauthorized,
  '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_restricted_org_wide' => AppRestrictedOrgWide,
  'as_user_not_supported' => AsUserNotSupported,
  'authed_user_not_found' => AuthedUserNotFound,
  '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,
  'bots_not_allowed' => BotsNotAllowed,
  'bots_not_found' => BotsNotFound,
  'cannot_add_bot' => CannotAddBot,
  '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_slackbot' => CannotAddSlackbot,
  'cannot_auth_user' => CannotAuthUser,
  'cannot_complete_others' => CannotCompleteOthers,
  'cannot_complete_recurring' => CannotCompleteRecurring,
  '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_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_unfurl_message' => CannotUnfurlMessage,
  'cannot_unfurl_url' => CannotUnfurlUrl,
  'cannot_update_admin_user' => CannotUpdateAdminUser,
  'cant_archive_general' => CantArchiveGeneral,
  '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_cannot_be_unshared' => ChannelCannotBeUnshared,
  'channel_is_not_private' => ChannelIsNotPrivate,
  '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,
  '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,
  '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_taken' => EmailTaken,
  'emoji_limit_reached' => EmojiLimitReached,
  'emoji_not_found' => EmojiNotFound,
  'enterprise_is_restricted' => EnterpriseIsRestricted,
  'enterprise_not_found' => EnterpriseNotFound,
  '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,
  'external_channel_migrating' => ExternalChannelMigrating,
  'externally_shared_or_disconnected_channel' => ExternallySharedOrDisconnectedChannel,
  'fail_to_get_teams_for_restricted_user' => FailToGetTeamsForRestrictedUser,
  '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_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,
  'hash_conflict' => HashConflict,
  'inactive_call' => InactiveCall,
  'insecure_request' => InsecureRequest,
  'internal_error' => InternalError,
  'invalid_actor' => InvalidActor,
  '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_call_id' => InvalidCallId,
  'invalid_channel' => InvalidChannel,
  'invalid_channel_id' => InvalidChannelId,
  '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_event_context' => InvalidEventContext,
  'invalid_external_id' => InvalidExternalId,
  'invalid_form_data' => InvalidFormData,
  'invalid_grant_type' => InvalidGrantType,
  'invalid_inputs' => InvalidInputs,
  'invalid_limit' => InvalidLimit,
  '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_profile' => InvalidProfile,
  'invalid_request' => InvalidRequest,
  'invalid_request_id' => InvalidRequestId,
  'invalid_restricted_subjects' => InvalidRestrictedSubjects,
  'invalid_role_for_user' => InvalidRoleForUser,
  'invalid_scheduled_message_id' => InvalidScheduledMessageId,
  'invalid_scope' => InvalidScope,
  'invalid_scopes' => InvalidScopes,
  'invalid_search_channel_type' => InvalidSearchChannelType,
  'invalid_sort' => InvalidSort,
  'invalid_sort_dir' => InvalidSortDir,
  '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_token' => InvalidToken,
  'invalid_trigger' => InvalidTrigger,
  'invalid_ts_latest' => InvalidTsLatest,
  'invalid_ts_oldest' => InvalidTsOldest,
  'invalid_type' => InvalidType,
  'invalid_types' => InvalidTypes,
  'invalid_unfurls_format' => InvalidUnfurlsFormat,
  'invalid_url' => InvalidUrl,
  'invalid_user' => InvalidUser,
  'invalid_user_combination' => InvalidUserCombination,
  'invalid_user_id' => InvalidUserId,
  'invalid_users' => InvalidUsers,
  'invited_user_not_created' => InvitedUserNotCreated,
  'invited_user_not_reactivated' => InvitedUserNotReactivated,
  'invitee_cant_see_channel' => InviteeCantSeeChannel,
  'is_archived' => IsArchived,
  'is_bot' => IsBot,
  'is_inactive' => IsInactive,
  'last_member' => LastMember,
  'limit_required' => LimitRequired,
  'link_not_found' => LinkNotFound,
  'member_analytics_disabled' => MemberAnalyticsDisabled,
  'message_not_found' => MessageNotFound,
  '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_resource' => MissingResource,
  'missing_scope' => MissingScope,
  'missing_subteam_name' => MissingSubteamName,
  'missing_team' => MissingTeam,
  'missing_trigger' => MissingTrigger,
  'missing_ts' => MissingTs,
  'missing_unfurls' => MissingUnfurls,
  'missing_user' => MissingUser,
  'mixed_scope' => MixedScope,
  'msg_too_long' => MsgTooLong,
  'must_provide_team_domain' => MustProvideTeamDomain,
  'must_provide_team_name' => MustProvideTeamName,
  'name_already_exists' => NameAlreadyExists,
  'name_taken' => NameTaken,
  'name_taken_in_org' => NameTakenInOrg,
  'no_active_sessions' => NoActiveSessions,
  'no_alias_selected' => NoAliasSelected,
  'no_bot_user_for_app' => NoBotUserForApp,
  'no_channel' => NoChannel,
  '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_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_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_pagination_limit' => OverPaginationLimit,
  'pagination_not_available' => PaginationNotAvailable,
  'paid_only' => PaidOnly,
  'paid_teams_only' => PaidTeamsOnly,
  'permission_denied' => PermissionDenied,
  'plan_upgrade_required' => PlanUpgradeRequired,
  '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,
  'push_limit_reached' => PushLimitReached,
  'rate_limited' => RateLimited,
  '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_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,
  'slack_connect_blocked_file_type' => SlackConnectBlockedFileType,
  '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,
  'subteam_max_users_exceeded' => SubteamMaxUsersExceeded,
  'team_access_not_granted' => TeamAccessNotGranted,
  'team_added_to_org' => TeamAddedToOrg,
  'team_id_or_org_required' => TeamIdOrOrgRequired,
  'team_not_found' => TeamNotFound,
  'team_not_on_enterprise' => TeamNotOnEnterprise,
  'thread_not_found' => ThreadNotFound,
  'time_in_past' => TimeInPast,
  'time_too_far' => TimeTooFar,
  'token_revoked' => TokenRevoked,
  'too_large' => TooLarge,
  'too_long' => TooLong,
  'too_many_attachments' => TooManyAttachments,
  'too_many_convos_for_app_on_team' => TooManyConvosForAppOnTeam,
  'too_many_convos_for_team' => TooManyConvosForTeam,
  '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_provided' => TooManyTeamsProvided,
  'too_many_users' => TooManyUsers,
  'trigger_exchanged' => TriggerExchanged,
  'trigger_expired' => TriggerExpired,
  'two_factor_setup_required' => TwoFactorSetupRequired,
  'unable_to_leave_last_team' => UnableToLeaveLastTeam,
  'unable_to_link_idp_group_and_channel' => UnableToLinkIdpGroupAndChannel,
  'unable_to_unlink_idp_group_and_channel' => UnableToUnlinkIdpGroupAndChannel,
  'unknown_method' => UnknownMethod,
  'unknown_type' => UnknownType,
  'unsupported_arguments' => UnsupportedArguments,
  'unsupported_context_type' => UnsupportedContextType,
  'unsupported_team_type' => UnsupportedTeamType,
  'update_failed' => UpdateFailed,
  'ura_max_channels' => UraMaxChannels,
  'user_already_deleted' => UserAlreadyDeleted,
  'user_already_team_member' => UserAlreadyTeamMember,
  '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_not_found' => UserNotFound,
  'user_not_in_channel' => UserNotInChannel,
  'user_not_visible' => UserNotVisible,
  '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