dblock/slack-ruby-client

View on GitHub
lib/slack/web/api/errors.rb

Summary

Maintainability
F
3 days
Test Coverage
# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

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

        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_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_disabled_file_team' => CanvasDisabledFileTeam,
          'canvas_disabled_user_team' => CanvasDisabledUserTeam,
          'canvas_globally_disabled' => CanvasGloballyDisabled,
          'channel_archived' => ChannelArchived,
          'channel_cannot_be_unshared' => ChannelCannotBeUnshared,
          '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_team_passed_in_is_not_top_level_team' => ConnectedTeamPassedInIsNotTopLevelTeam,
          '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,
          '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_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,
          '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_outputs' => InvalidOutputs,
          'invalid_parent_type' => InvalidParentType,
          'invalid_payload' => InvalidPayload,
          '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_workflow_auth_strategy' => InvalidWorkflowAuthStrategy,
          '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_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,
          '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_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_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_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_profile_set_failed' => PartialProfileSetFailed,
          'permission_denied' => PermissionDenied,
          '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,
          '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,
          '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_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_convos_for_app_on_team' => TooManyConvosForAppOnTeam,
          'too_many_convos_for_team' => TooManyConvosForTeam,
          '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_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_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_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,
          'workflows_export_csv_not_enabled' => WorkflowsExportCsvNotEnabled,
        }.freeze
      end
    end
  end
end