lib/slack/web/api/errors.rb in slack-ruby-client-2.1.0 vs lib/slack/web/api/errors.rb in slack-ruby-client-2.2.0
- old
+ new
@@ -4,10 +4,11 @@
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
@@ -23,10 +24,11 @@
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
@@ -75,14 +77,14 @@
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 CannotSetBothNumMinutesAndIsIndefinite < SlackError; end
class CannotSetThisGuestToRegularAtTeamLevel < SlackError; end
class CannotShareCrossWorkspaceChannel < SlackError; end
class CannotShareMandatoryChannel < SlackError; end
class CannotUnfurlMessage < SlackError; end
class CannotUnfurlUrl < SlackError; end
@@ -99,10 +101,11 @@
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
@@ -131,10 +134,12 @@
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
@@ -144,28 +149,32 @@
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 ExpiredTriggerId < SlackError; end
class ExternalChannelMigrating < SlackError; end
class ExternalLimitedRestriction < SlackError; end
class ExternalTeamNotConnectedToThisOrg < SlackError; end
@@ -219,10 +228,12 @@
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 FunctionNotFound < SlackError; end
class GroupAlreadyLinkedToChannel < SlackError; end
class GroupMustNotBeEmpty < SlackError; end
class GroupNotFound < SlackError; end
class HandleAlreadyExists < SlackError; end
class HasAlreadyConnectedToOrg < SlackError; end
@@ -254,11 +265,13 @@
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
@@ -298,19 +311,21 @@
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
@@ -325,20 +340,22 @@
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
@@ -348,18 +365,20 @@
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
@@ -382,31 +401,35 @@
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
@@ -440,10 +463,11 @@
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
@@ -458,10 +482,11 @@
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
@@ -489,11 +514,10 @@
class SlackConnectBlockedFileType < SlackError; end
class SlackConnectCanvasSharingBlocked < SlackError; end
class SlackConnectClipSharingBlocked < SlackError; end
class SlackConnectFileLinkSharingBlocked < SlackError; end
class SlackConnectFileUploadSharingBlocked < SlackError; end
- class SlackConnectTeamBlocked < SlackError; end
class SnippetTooLarge < SlackError; end
class SnoozeEndFailed < SlackError; end
class SnoozeFailed < SlackError; end
class SpecifyEnterpriseOrTeams < SlackError; end
class StorageLimitReached < SlackError; end
@@ -506,26 +530,30 @@
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
@@ -539,10 +567,11 @@
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
@@ -561,10 +590,11 @@
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
@@ -585,13 +615,15 @@
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,
@@ -607,10 +639,11 @@
'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,
@@ -659,14 +692,14 @@
'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_both_num_minutes_and_is_indefinite' => CannotSetBothNumMinutesAndIsIndefinite,
'cannot_set_this_guest_to_regular_at_team_level' => CannotSetThisGuestToRegularAtTeamLevel,
'cannot_share_cross_workspace_channel' => CannotShareCrossWorkspaceChannel,
'cannot_share_mandatory_channel' => CannotShareMandatoryChannel,
'cannot_unfurl_message' => CannotUnfurlMessage,
'cannot_unfurl_url' => CannotUnfurlUrl,
@@ -683,10 +716,11 @@
'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,
@@ -715,10 +749,12 @@
'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,
@@ -728,28 +764,32 @@
'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,
'expired_trigger_id' => ExpiredTriggerId,
'external_channel_migrating' => ExternalChannelMigrating,
'external_limited_restriction' => ExternalLimitedRestriction,
'external_team_not_connected_to_this_org' => ExternalTeamNotConnectedToThisOrg,
@@ -803,10 +843,12 @@
'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_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,
@@ -838,11 +880,13 @@
'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,
@@ -882,19 +926,21 @@
'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,
@@ -909,20 +955,22 @@
'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,
@@ -932,18 +980,20 @@
'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,
@@ -966,31 +1016,35 @@
'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,
@@ -1024,10 +1078,11 @@
'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,
@@ -1042,10 +1097,11 @@
'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,
@@ -1073,11 +1129,10 @@
'slack_connect_blocked_file_type' => SlackConnectBlockedFileType,
'slack_connect_canvas_sharing_blocked' => SlackConnectCanvasSharingBlocked,
'slack_connect_clip_sharing_blocked' => SlackConnectClipSharingBlocked,
'slack_connect_file_link_sharing_blocked' => SlackConnectFileLinkSharingBlocked,
'slack_connect_file_upload_sharing_blocked' => SlackConnectFileUploadSharingBlocked,
- 'slack_connect_team_blocked' => SlackConnectTeamBlocked,
'snippet_too_large' => SnippetTooLarge,
'snooze_end_failed' => SnoozeEndFailed,
'snooze_failed' => SnoozeFailed,
'specify_enterprise_or_teams' => SpecifyEnterpriseOrTeams,
'storage_limit_reached' => StorageLimitReached,
@@ -1090,26 +1145,30 @@
'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,
@@ -1123,10 +1182,11 @@
'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,
@@ -1145,10 +1205,11 @@
'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,
@@ -1169,9 +1230,10 @@
'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