lib/slack/web/api/errors.rb in slack-ruby-client-0.15.1 vs lib/slack/web/api/errors.rb in slack-ruby-client-0.16.0
- old
+ new
@@ -3,11 +3,13 @@
module Slack
module Web
module Api
module Errors
+ class Accesslimited < SlackError; end
class AccountInactive < SlackError; end
+ class AdminUnauthorized < SlackError; end
class AlreadyArchived < SlackError; end
class AlreadyInChannel < SlackError; end
class AlreadyInTeam < SlackError; end
class AlreadyInTeamInvitedUser < SlackError; end
class AlreadyInvited < SlackError; end
@@ -17,33 +19,44 @@
class AlreadyStarred < SlackError; end
class AppManagementAppNotInstalledOnOrg < SlackError; end
class AppMissingActionUrl < SlackError; end
class AppRestrictedOrgWide < SlackError; end
class AsUserNotSupported < SlackError; end
+ class AuthedUserNotFound < 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 BotNotFound < SlackError; end
+ class BotsNotAllowed < SlackError; end
+ class BotsNotFound < SlackError; end
class CannotAddBot < SlackError; end
class CannotAddMoreChannelsToGroup < SlackError; end
class CannotAddMoreGroupsToChannel < SlackError; end
class CannotAddOthers < SlackError; end
class CannotAddOthersRecurring < SlackError; end
class CannotAddSlackbot < SlackError; end
+ class CannotAuthUser < SlackError; end
class CannotCompleteOthers < SlackError; end
class CannotCompleteRecurring < 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
@@ -62,28 +75,47 @@
class CantKickSelf < SlackError; end
class CantLeaveGeneral < SlackError; end
class CantUpdateMessage < SlackError; end
class ChannelCannotBeUnshared < SlackError; end
class ChannelIsNotPrivate < SlackError; end
+ class ChannelNotArchived < SlackError; end
class ChannelNotFound < SlackError; end
class ChannelTypeNotSupported < SlackError; end
class ClientIdTokenMismatch < SlackError; end
class CodeAlreadyUsed < SlackError; end
class ComplianceExportsPreventDeletion < SlackError; end
+ class CouldNotArchiveChannel < SlackError; end
+ class CouldNotConvertChannel < SlackError; end
+ class CouldNotCreateChannel < SlackError; end
class CouldNotCreateWorkspace < SlackError; end
+ class CouldNotDeleteChannel < 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 DataNotAvailable < SlackError; end
class DefaultChannelRestricted < SlackError; end
class DefaultOrgWideChannel < 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 EmailTaken < SlackError; end
+ class EmojiLimitReached < SlackError; end
class EmojiNotFound < SlackError; end
class EnterpriseIsRestricted < SlackError; end
+ class EnterpriseNotFound < SlackError; end
class ErrorBadFormat < SlackError; end
class ErrorBadNameI18n < SlackError; end
class ErrorBadUpload < SlackError; end
class ErrorBadWide < SlackError; end
class ErrorInvalidAlias < SlackError; end
@@ -93,10 +125,12 @@
class ErrorNameTakenI18n < SlackError; end
class ErrorNoImage < SlackError; end
class ErrorTooBig < SlackError; end
class ExternalChannelMigrating < SlackError; end
class ExternallySharedOrDisconnectedChannel < SlackError; end
+ class FailToGetTeamsForRestrictedUser < SlackError; end
+ class FailedForSomeUsers < SlackError; end
class FailedLookingUpUser < SlackError; end
class FailedSendingDialog < SlackError; end
class FailedToAddEmoji < SlackError; end
class FailedToAliasEmoji < SlackError; end
class FailedToFetchActiveTeam < SlackError; end
@@ -124,24 +158,31 @@
class FatalError < 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 ForbiddenHandle < SlackError; end
class GroupAlreadyLinkedToChannel < SlackError; end
class GroupContainsOthers < SlackError; end
class GroupMustNotBeEmpty < SlackError; end
class GroupNotFound < SlackError; end
+ class HandleAlreadyExists < SlackError; end
class HashConflict < SlackError; end
class InactiveCall < SlackError; end
+ class InsecureRequest < SlackError; end
class InternalError < SlackError; end
class InvalidActor < 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 InvalidCallId < SlackError; end
class InvalidChannel < SlackError; end
@@ -150,84 +191,116 @@
class InvalidCharset < SlackError; end
class InvalidClientId < SlackError; end
class InvalidCode < SlackError; end
class InvalidCreatedBy < SlackError; end
class InvalidCursor < SlackError; end
+ class InvalidDate < SlackError; end
+ class InvalidDuration < SlackError; end
class InvalidEmail < SlackError; end
+ class InvalidEventContext < SlackError; end
class InvalidExternalId < SlackError; end
+ class InvalidForIsMpim < SlackError; end
class InvalidFormData < SlackError; end
class InvalidGrantType < SlackError; end
+ class InvalidInputs < SlackError; end
class InvalidLimit < 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 InvalidPayload < SlackError; end
class InvalidPermissions < SlackError; end
class InvalidPostType < SlackError; end
class InvalidPresence < SlackError; end
class InvalidProfile < SlackError; end
class InvalidRequest < SlackError; end
class InvalidRequestId < SlackError; end
+ class InvalidRestrictedSubjects < SlackError; end
class InvalidRoleForUser < SlackError; end
class InvalidScheduledMessageId < SlackError; end
class InvalidScope < SlackError; end
+ class InvalidScopes < SlackError; end
+ class InvalidSearchChannelType < SlackError; end
+ class InvalidSort < SlackError; end
+ class InvalidSortDir < SlackError; end
class InvalidStartTime < SlackError; end
+ class InvalidStepStatus < SlackError; end
class InvalidTargetTeam < SlackError; end
+ class InvalidTeam < SlackError; end
class InvalidTeamIds < SlackError; end
class InvalidTime < SlackError; end
class InvalidTimestamp < SlackError; end
+ class InvalidToken < SlackError; end
class InvalidTrigger < SlackError; end
class InvalidTsLatest < SlackError; end
class InvalidTsOldest < SlackError; end
+ class InvalidType < SlackError; end
class InvalidTypes < 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 InvitedUserNotCreated < SlackError; end
class InvitedUserNotReactivated < SlackError; end
class InviteeCantSeeChannel < SlackError; end
class IsArchived < SlackError; end
class IsBot < SlackError; end
class IsInactive < SlackError; end
class LastMember < SlackError; end
+ class LeavingTeamNotInChannel < SlackError; end
+ class LeavingTeamRequired < SlackError; end
class LimitRequired < SlackError; end
class LinkNotFound < SlackError; end
+ class MemberAnalyticsDisabled < SlackError; end
class MessageNotFound < SlackError; end
class MethodDeprecated < 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 MissingPostType < SlackError; end
class MissingResource < SlackError; end
class MissingScope < SlackError; end
+ class MissingSubteamName < SlackError; end
+ class MissingTeam < SlackError; end
class MissingTrigger < SlackError; end
class MissingTs < SlackError; end
class MissingUnfurls < SlackError; end
+ class MissingUser < SlackError; end
class MixedScope < SlackError; end
class MsgTooLong < SlackError; end
class MustProvideTeamDomain < SlackError; end
class MustProvideTeamName < SlackError; end
+ class NameAlreadyExists < SlackError; end
class NameTaken < SlackError; end
class NameTakenInOrg < SlackError; end
+ class NoActiveSessions < SlackError; end
class NoAliasSelected < SlackError; end
class NoBotUserForApp < SlackError; end
class NoChannel < 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 NoResolutionFound < SlackError; end
+ class NoScopes < SlackError; end
class NoSuchSubteam < SlackError; end
class NoTeamIdsGiven < SlackError; end
+ class NoTeamsToDisconnect < SlackError; end
class NoText < SlackError; end
class NoUser < SlackError; end
class NoUserProvided < SlackError; end
+ class NoUsersProvided < SlackError; end
class NotAdmin < SlackError; end
class NotAllowed < SlackError; end
class NotAllowedTokenType < SlackError; end
class NotAnAdmin < SlackError; end
class NotAnEnterprise < SlackError; end
@@ -246,19 +319,25 @@
class NotInGroup < SlackError; end
class NotPinnable < SlackError; end
class NotPinned < SlackError; end
class NotReactable < SlackError; end
class NotStarred < SlackError; end
+ class NotSupported < SlackError; end
class OauthAuthorizationUrlMismatch < SlackError; end
+ class OrgLevelEmailDisplayDisabled < SlackError; end
class OrgLoginRequired < SlackError; end
+ class OrgNotFound < SlackError; end
+ class OrgUserNotInTeam < SlackError; end
class OverPaginationLimit < SlackError; end
class PaginationNotAvailable < SlackError; end
class PaidOnly < SlackError; end
+ class PaidTeamsOnly < SlackError; end
class PermissionDenied < SlackError; end
class PlanUpgradeRequired < SlackError; end
class PostingToGeneralChannelDenied < SlackError; end
class PreviewFeatureNotAvailable < SlackError; end
+ class PrimaryUsergroupNotFound < SlackError; end
class ProfileSetFailed < SlackError; end
class PublicVideoNotAllowed < SlackError; end
class PushLimitReached < SlackError; end
class RateLimited < SlackError; end
class Ratelimited < SlackError; end
@@ -270,17 +349,28 @@
class ResizedButStillTooLarge < SlackError; end
class RestrictedAction < SlackError; end
class RestrictedActionNonThreadableChannel < SlackError; end
class RestrictedActionReadOnlyChannel < SlackError; end
class RestrictedActionThreadOnlyChannel < SlackError; end
+ class RetentionOverrideNotAllowed < SlackError; end
class RtmConnectRequired < SlackError; end
class SentRecently < SlackError; end
+ class ServiceUnavailable < SlackError; end
+ class SessionExpired < SlackError; end
+ class SessionInvalidationFailed < SlackError; end
+ class SessionNotFound < SlackError; end
+ class SlackConnectFileLinkSharingBlocked < SlackError; end
+ class SlackConnectFileUploadSharingBlocked < SlackError; end
class SnoozeEndFailed < SlackError; end
class SnoozeFailed < SlackError; end
class SnoozeNotActive < SlackError; end
+ class SubteamMaxUsersExceeded < SlackError; end
+ class TeamAccessNotGranted < SlackError; end
class TeamAddedToOrg < SlackError; end
+ class TeamIdOrOrgRequired < SlackError; end
class TeamNotFound < SlackError; end
+ class TeamNotOnEnterprise < SlackError; end
class ThreadNotFound < SlackError; end
class TimeInPast < SlackError; end
class TimeTooFar < SlackError; end
class TokenRevoked < SlackError; end
class TooLarge < SlackError; end
@@ -290,22 +380,28 @@
class TooManyConvosForTeam < SlackError; end
class TooManyEmoji < 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 TooManyTeamsProvided < SlackError; end
class TooManyUsers < SlackError; end
class TriggerExchanged < SlackError; end
class TriggerExpired < SlackError; end
+ class TwoFactorSetupRequired < SlackError; end
class UnableToLeaveLastTeam < SlackError; end
class UnableToLinkIdpGroupAndChannel < SlackError; end
class UnableToUnlinkIdpGroupAndChannel < SlackError; end
class UnknownMethod < SlackError; end
class UnknownType < SlackError; end
class UnsupportedArguments < SlackError; end
+ class UnsupportedContextType < SlackError; end
+ class UnsupportedTeamType < SlackError; end
class UpdateFailed < SlackError; end
class UraMaxChannels < SlackError; end
class UserAlreadyDeleted < SlackError; end
class UserAlreadyTeamMember < SlackError; end
class UserDisabled < SlackError; end
@@ -313,10 +409,11 @@
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 UserNotFound < SlackError; end
class UserNotInChannel < SlackError; end
class UserNotVisible < SlackError; end
class UserSessionResetFailed < SlackError; end
class UsergroupNotFound < SlackError; end
@@ -326,11 +423,13 @@
class UsersNotFound < SlackError; end
class ValidationErrors < SlackError; end
class ViewTooLarge < SlackError; end
ERROR_CLASSES = {
+ 'accesslimited' => Accesslimited,
'account_inactive' => AccountInactive,
+ 'admin_unauthorized' => AdminUnauthorized,
'already_archived' => AlreadyArchived,
'already_in_channel' => AlreadyInChannel,
'already_in_team' => AlreadyInTeam,
'already_in_team_invited_user' => AlreadyInTeamInvitedUser,
'already_invited' => AlreadyInvited,
@@ -340,33 +439,44 @@
'already_starred' => AlreadyStarred,
'app_management_app_not_installed_on_org' => AppManagementAppNotInstalledOnOrg,
'app_missing_action_url' => AppMissingActionUrl,
'app_restricted_org_wide' => AppRestrictedOrgWide,
'as_user_not_supported' => AsUserNotSupported,
+ 'authed_user_not_found' => AuthedUserNotFound,
'auto_provision_failure' => AutoProvisionFailure,
'bad_client_secret' => BadClientSecret,
+ 'bad_handle' => BadHandle,
'bad_image' => BadImage,
'bad_redirect_uri' => BadRedirectUri,
'bad_timestamp' => BadTimestamp,
'bad_title' => BadTitle,
'bad_token' => BadToken,
'bad_url' => BadUrl,
'bad_users' => BadUsers,
+ 'barrier_already_exists' => BarrierAlreadyExists,
+ 'barrier_not_found' => BarrierNotFound,
+ 'barriered_from_usergroups_not_found' => BarrieredFromUsergroupsNotFound,
'bot_not_found' => BotNotFound,
+ 'bots_not_allowed' => BotsNotAllowed,
+ 'bots_not_found' => BotsNotFound,
'cannot_add_bot' => CannotAddBot,
'cannot_add_more_channels_to_group' => CannotAddMoreChannelsToGroup,
'cannot_add_more_groups_to_channel' => CannotAddMoreGroupsToChannel,
'cannot_add_others' => CannotAddOthers,
'cannot_add_others_recurring' => CannotAddOthersRecurring,
'cannot_add_slackbot' => CannotAddSlackbot,
+ 'cannot_auth_user' => CannotAuthUser,
'cannot_complete_others' => CannotCompleteOthers,
'cannot_complete_recurring' => CannotCompleteRecurring,
'cannot_create_dialog' => CannotCreateDialog,
'cannot_find_channel' => CannotFindChannel,
'cannot_find_message' => CannotFindMessage,
'cannot_find_service' => CannotFindService,
'cannot_install_an_org_installed_app' => CannotInstallAnOrgInstalledApp,
+ 'cannot_invalidate_primary_owner' => CannotInvalidatePrimaryOwner,
+ 'cannot_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,
@@ -385,28 +495,47 @@
'cant_kick_self' => CantKickSelf,
'cant_leave_general' => CantLeaveGeneral,
'cant_update_message' => CantUpdateMessage,
'channel_cannot_be_unshared' => ChannelCannotBeUnshared,
'channel_is_not_private' => ChannelIsNotPrivate,
+ 'channel_not_archived' => ChannelNotArchived,
'channel_not_found' => ChannelNotFound,
'channel_type_not_supported' => ChannelTypeNotSupported,
'client_id_token_mismatch' => ClientIdTokenMismatch,
'code_already_used' => CodeAlreadyUsed,
'compliance_exports_prevent_deletion' => ComplianceExportsPreventDeletion,
+ 'could_not_archive_channel' => CouldNotArchiveChannel,
+ 'could_not_convert_channel' => CouldNotConvertChannel,
+ 'could_not_create_channel' => CouldNotCreateChannel,
'could_not_create_workspace' => CouldNotCreateWorkspace,
+ 'could_not_delete_channel' => CouldNotDeleteChannel,
+ 'could_not_get_conversation_prefs' => CouldNotGetConversationPrefs,
+ 'could_not_get_retention' => CouldNotGetRetention,
+ 'could_not_get_teams' => CouldNotGetTeams,
+ 'could_not_remove_retention' => CouldNotRemoveRetention,
+ 'could_not_rename_channel' => CouldNotRenameChannel,
+ 'could_not_set_channel_pref' => CouldNotSetChannelPref,
+ 'could_not_set_retention' => CouldNotSetRetention,
'could_not_set_teams_for_channel' => CouldNotSetTeamsForChannel,
+ 'could_not_unarchive_channel' => CouldNotUnarchiveChannel,
+ 'data_not_available' => DataNotAvailable,
'default_channel_restricted' => DefaultChannelRestricted,
'default_org_wide_channel' => DefaultOrgWideChannel,
+ 'deprecated_endpoint' => DeprecatedEndpoint,
+ 'description_too_long' => DescriptionTooLong,
'discoverability_setting_invalid' => DiscoverabilitySettingInvalid,
'domain_taken' => DomainTaken,
'duplicate_channel_not_found' => DuplicateChannelNotFound,
'duplicate_external_id' => DuplicateExternalId,
'duplicate_message_not_found' => DuplicateMessageNotFound,
'edit_window_closed' => EditWindowClosed,
'ekm_access_denied' => EkmAccessDenied,
+ 'email_taken' => EmailTaken,
+ 'emoji_limit_reached' => EmojiLimitReached,
'emoji_not_found' => EmojiNotFound,
'enterprise_is_restricted' => EnterpriseIsRestricted,
+ 'enterprise_not_found' => EnterpriseNotFound,
'error_bad_format' => ErrorBadFormat,
'error_bad_name_i18n' => ErrorBadNameI18n,
'error_bad_upload' => ErrorBadUpload,
'error_bad_wide' => ErrorBadWide,
'error_invalid_alias' => ErrorInvalidAlias,
@@ -416,10 +545,12 @@
'error_name_taken_i18n' => ErrorNameTakenI18n,
'error_no_image' => ErrorNoImage,
'error_too_big' => ErrorTooBig,
'external_channel_migrating' => ExternalChannelMigrating,
'externally_shared_or_disconnected_channel' => ExternallySharedOrDisconnectedChannel,
+ 'fail_to_get_teams_for_restricted_user' => FailToGetTeamsForRestrictedUser,
+ 'failed_for_some_users' => FailedForSomeUsers,
'failed_looking_up_user' => FailedLookingUpUser,
'failed_sending_dialog' => FailedSendingDialog,
'failed_to_add_emoji' => FailedToAddEmoji,
'failed_to_alias_emoji' => FailedToAliasEmoji,
'failed_to_fetch_active_team' => FailedToFetchActiveTeam,
@@ -447,24 +578,31 @@
'fatal_error' => FatalError,
'feature_not_enabled' => FeatureNotEnabled,
'fetch_members_failed' => FetchMembersFailed,
'file_comment_not_found' => FileCommentNotFound,
'file_deleted' => FileDeleted,
+ 'file_deleting_disabled' => FileDeletingDisabled,
'file_not_found' => FileNotFound,
'file_not_shared' => FileNotShared,
+ 'file_not_yet_available' => FileNotYetAvailable,
'file_under_review' => FileUnderReview,
+ 'forbidden_handle' => ForbiddenHandle,
'group_already_linked_to_channel' => GroupAlreadyLinkedToChannel,
'group_contains_others' => GroupContainsOthers,
'group_must_not_be_empty' => GroupMustNotBeEmpty,
'group_not_found' => GroupNotFound,
+ 'handle_already_exists' => HandleAlreadyExists,
'hash_conflict' => HashConflict,
'inactive_call' => InactiveCall,
+ 'insecure_request' => InsecureRequest,
'internal_error' => InternalError,
'invalid_actor' => InvalidActor,
'invalid_app_id' => InvalidAppId,
'invalid_arg_name' => InvalidArgName,
+ 'invalid_args' => InvalidArgs,
'invalid_arguments' => InvalidArguments,
+ 'invalid_array_arg' => InvalidArrayArg,
'invalid_attachments' => InvalidAttachments,
'invalid_auth' => InvalidAuth,
'invalid_blocks' => InvalidBlocks,
'invalid_call_id' => InvalidCallId,
'invalid_channel' => InvalidChannel,
@@ -473,84 +611,116 @@
'invalid_charset' => InvalidCharset,
'invalid_client_id' => InvalidClientId,
'invalid_code' => InvalidCode,
'invalid_created_by' => InvalidCreatedBy,
'invalid_cursor' => InvalidCursor,
+ 'invalid_date' => InvalidDate,
+ 'invalid_duration' => InvalidDuration,
'invalid_email' => InvalidEmail,
+ 'invalid_event_context' => InvalidEventContext,
'invalid_external_id' => InvalidExternalId,
+ 'invalid_for_is_mpim' => InvalidForIsMpim,
'invalid_form_data' => InvalidFormData,
'invalid_grant_type' => InvalidGrantType,
+ 'invalid_inputs' => InvalidInputs,
'invalid_limit' => InvalidLimit,
'invalid_name' => InvalidName,
'invalid_name_maxlength' => InvalidNameMaxlength,
'invalid_name_punctuation' => InvalidNamePunctuation,
'invalid_name_required' => InvalidNameRequired,
'invalid_name_specials' => InvalidNameSpecials,
+ 'invalid_outputs' => InvalidOutputs,
+ 'invalid_payload' => InvalidPayload,
'invalid_permissions' => InvalidPermissions,
'invalid_post_type' => InvalidPostType,
'invalid_presence' => InvalidPresence,
'invalid_profile' => InvalidProfile,
'invalid_request' => InvalidRequest,
'invalid_request_id' => InvalidRequestId,
+ 'invalid_restricted_subjects' => InvalidRestrictedSubjects,
'invalid_role_for_user' => InvalidRoleForUser,
'invalid_scheduled_message_id' => InvalidScheduledMessageId,
'invalid_scope' => InvalidScope,
+ 'invalid_scopes' => InvalidScopes,
+ 'invalid_search_channel_type' => InvalidSearchChannelType,
+ 'invalid_sort' => InvalidSort,
+ 'invalid_sort_dir' => InvalidSortDir,
'invalid_start_time' => InvalidStartTime,
+ 'invalid_step_status' => InvalidStepStatus,
'invalid_target_team' => InvalidTargetTeam,
+ 'invalid_team' => InvalidTeam,
'invalid_team_ids' => InvalidTeamIds,
'invalid_time' => InvalidTime,
'invalid_timestamp' => InvalidTimestamp,
+ 'invalid_token' => InvalidToken,
'invalid_trigger' => InvalidTrigger,
'invalid_ts_latest' => InvalidTsLatest,
'invalid_ts_oldest' => InvalidTsOldest,
+ 'invalid_type' => InvalidType,
'invalid_types' => InvalidTypes,
'invalid_unfurls_format' => InvalidUnfurlsFormat,
'invalid_url' => InvalidUrl,
'invalid_user' => InvalidUser,
'invalid_user_combination' => InvalidUserCombination,
+ 'invalid_user_id' => InvalidUserId,
'invalid_users' => InvalidUsers,
'invited_user_not_created' => InvitedUserNotCreated,
'invited_user_not_reactivated' => InvitedUserNotReactivated,
'invitee_cant_see_channel' => InviteeCantSeeChannel,
'is_archived' => IsArchived,
'is_bot' => IsBot,
'is_inactive' => IsInactive,
'last_member' => LastMember,
+ 'leaving_team_not_in_channel' => LeavingTeamNotInChannel,
+ 'leaving_team_required' => LeavingTeamRequired,
'limit_required' => LimitRequired,
'link_not_found' => LinkNotFound,
+ 'member_analytics_disabled' => MemberAnalyticsDisabled,
'message_not_found' => MessageNotFound,
'method_deprecated' => MethodDeprecated,
'method_not_supported_for_channel_type' => MethodNotSupportedForChannelType,
'migration_in_progress' => MigrationInProgress,
+ 'missing_args' => MissingArgs,
'missing_argument' => MissingArgument,
'missing_channel' => MissingChannel,
'missing_dialog' => MissingDialog,
'missing_duration' => MissingDuration,
'missing_post_type' => MissingPostType,
'missing_resource' => MissingResource,
'missing_scope' => MissingScope,
+ 'missing_subteam_name' => MissingSubteamName,
+ 'missing_team' => MissingTeam,
'missing_trigger' => MissingTrigger,
'missing_ts' => MissingTs,
'missing_unfurls' => MissingUnfurls,
+ 'missing_user' => MissingUser,
'mixed_scope' => MixedScope,
'msg_too_long' => MsgTooLong,
'must_provide_team_domain' => MustProvideTeamDomain,
'must_provide_team_name' => MustProvideTeamName,
+ 'name_already_exists' => NameAlreadyExists,
'name_taken' => NameTaken,
'name_taken_in_org' => NameTakenInOrg,
+ 'no_active_sessions' => NoActiveSessions,
'no_alias_selected' => NoAliasSelected,
'no_bot_user_for_app' => NoBotUserForApp,
'no_channel' => NoChannel,
'no_image_uploaded' => NoImageUploaded,
'no_item_specified' => NoItemSpecified,
+ 'no_local_user_on_team' => NoLocalUserOnTeam,
'no_permission' => NoPermission,
+ 'no_pin' => NoPin,
'no_reaction' => NoReaction,
+ 'no_resolution_found' => NoResolutionFound,
+ 'no_scopes' => NoScopes,
'no_such_subteam' => NoSuchSubteam,
'no_team_ids_given' => NoTeamIdsGiven,
+ 'no_teams_to_disconnect' => NoTeamsToDisconnect,
'no_text' => NoText,
'no_user' => NoUser,
'no_user_provided' => NoUserProvided,
+ 'no_users_provided' => NoUsersProvided,
'not_admin' => NotAdmin,
'not_allowed' => NotAllowed,
'not_allowed_token_type' => NotAllowedTokenType,
'not_an_admin' => NotAnAdmin,
'not_an_enterprise' => NotAnEnterprise,
@@ -569,19 +739,25 @@
'not_in_group' => NotInGroup,
'not_pinnable' => NotPinnable,
'not_pinned' => NotPinned,
'not_reactable' => NotReactable,
'not_starred' => NotStarred,
+ 'not_supported' => NotSupported,
'oauth_authorization_url_mismatch' => OauthAuthorizationUrlMismatch,
+ 'org_level_email_display_disabled' => OrgLevelEmailDisplayDisabled,
'org_login_required' => OrgLoginRequired,
+ 'org_not_found' => OrgNotFound,
+ 'org_user_not_in_team' => OrgUserNotInTeam,
'over_pagination_limit' => OverPaginationLimit,
'pagination_not_available' => PaginationNotAvailable,
'paid_only' => PaidOnly,
+ 'paid_teams_only' => PaidTeamsOnly,
'permission_denied' => PermissionDenied,
'plan_upgrade_required' => PlanUpgradeRequired,
'posting_to_general_channel_denied' => PostingToGeneralChannelDenied,
'preview_feature_not_available' => PreviewFeatureNotAvailable,
+ 'primary_usergroup_not_found' => PrimaryUsergroupNotFound,
'profile_set_failed' => ProfileSetFailed,
'public_video_not_allowed' => PublicVideoNotAllowed,
'push_limit_reached' => PushLimitReached,
'rate_limited' => RateLimited,
'ratelimited' => Ratelimited,
@@ -593,17 +769,28 @@
'resized_but_still_too_large' => ResizedButStillTooLarge,
'restricted_action' => RestrictedAction,
'restricted_action_non_threadable_channel' => RestrictedActionNonThreadableChannel,
'restricted_action_read_only_channel' => RestrictedActionReadOnlyChannel,
'restricted_action_thread_only_channel' => RestrictedActionThreadOnlyChannel,
+ 'retention_override_not_allowed' => RetentionOverrideNotAllowed,
'rtm_connect_required' => RtmConnectRequired,
'sent_recently' => SentRecently,
+ 'service_unavailable' => ServiceUnavailable,
+ 'session_expired' => SessionExpired,
+ 'session_invalidation_failed' => SessionInvalidationFailed,
+ 'session_not_found' => SessionNotFound,
+ 'slack_connect_file_link_sharing_blocked' => SlackConnectFileLinkSharingBlocked,
+ 'slack_connect_file_upload_sharing_blocked' => SlackConnectFileUploadSharingBlocked,
'snooze_end_failed' => SnoozeEndFailed,
'snooze_failed' => SnoozeFailed,
'snooze_not_active' => SnoozeNotActive,
+ 'subteam_max_users_exceeded' => SubteamMaxUsersExceeded,
+ 'team_access_not_granted' => TeamAccessNotGranted,
'team_added_to_org' => TeamAddedToOrg,
+ 'team_id_or_org_required' => TeamIdOrOrgRequired,
'team_not_found' => TeamNotFound,
+ 'team_not_on_enterprise' => TeamNotOnEnterprise,
'thread_not_found' => ThreadNotFound,
'time_in_past' => TimeInPast,
'time_too_far' => TimeTooFar,
'token_revoked' => TokenRevoked,
'too_large' => TooLarge,
@@ -613,22 +800,28 @@
'too_many_convos_for_team' => TooManyConvosForTeam,
'too_many_emoji' => TooManyEmoji,
'too_many_frames' => TooManyFrames,
'too_many_ids' => TooManyIds,
'too_many_ids_provided' => TooManyIdsProvided,
+ 'too_many_linked_channels' => TooManyLinkedChannels,
+ 'too_many_members' => TooManyMembers,
+ 'too_many_pins' => TooManyPins,
'too_many_reactions' => TooManyReactions,
'too_many_target_teams' => TooManyTargetTeams,
'too_many_teams_provided' => TooManyTeamsProvided,
'too_many_users' => TooManyUsers,
'trigger_exchanged' => TriggerExchanged,
'trigger_expired' => TriggerExpired,
+ 'two_factor_setup_required' => TwoFactorSetupRequired,
'unable_to_leave_last_team' => UnableToLeaveLastTeam,
'unable_to_link_idp_group_and_channel' => UnableToLinkIdpGroupAndChannel,
'unable_to_unlink_idp_group_and_channel' => UnableToUnlinkIdpGroupAndChannel,
'unknown_method' => UnknownMethod,
'unknown_type' => UnknownType,
'unsupported_arguments' => UnsupportedArguments,
+ 'unsupported_context_type' => UnsupportedContextType,
+ 'unsupported_team_type' => UnsupportedTeamType,
'update_failed' => UpdateFailed,
'ura_max_channels' => UraMaxChannels,
'user_already_deleted' => UserAlreadyDeleted,
'user_already_team_member' => UserAlreadyTeamMember,
'user_disabled' => UserDisabled,
@@ -636,9 +829,10 @@
'user_is_already_deleted' => UserIsAlreadyDeleted,
'user_is_bot' => UserIsBot,
'user_is_not_a_guest' => UserIsNotAGuest,
'user_is_restricted' => UserIsRestricted,
'user_is_ultra_restricted' => UserIsUltraRestricted,
+ 'user_must_be_admin' => UserMustBeAdmin,
'user_not_found' => UserNotFound,
'user_not_in_channel' => UserNotInChannel,
'user_not_visible' => UserNotVisible,
'user_session_reset_failed' => UserSessionResetFailed,
'usergroup_not_found' => UsergroupNotFound,