lib/slack/web/api/errors.rb in slack-ruby-client-1.0.0 vs lib/slack/web/api/errors.rb in slack-ruby-client-1.1.0

- old
+ new

@@ -100,18 +100,18 @@ 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 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 @@ -218,25 +218,29 @@ 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 InvalidDate < SlackError; end class InvalidDuration < SlackError; end class InvalidEmail < SlackError; end + class InvalidEmoji < SlackError; end class InvalidEmojiNotAllowed < SlackError; end + class InvalidEntityId < SlackError; end class InvalidEventContext < SlackError; end class InvalidExternalId < SlackError; end class InvalidFormData < SlackError; end class InvalidGrantType < SlackError; end class InvalidGroupProvided < SlackError; end @@ -250,16 +254,18 @@ 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 @@ -271,10 +277,11 @@ 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 InvalidTime < SlackError; end class InvalidTimestamp < SlackError; end class InvalidTitle < SlackError; end class InvalidToken < SlackError; end @@ -297,10 +304,11 @@ 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 IsInactive < SlackError; end class IsPendingConnectedToOrg < SlackError; end class LastMember < SlackError; end @@ -402,10 +410,13 @@ class OverMaxEntityLimit < SlackError; end class OverPaginationLimit < SlackError; end class PaginationNotAvailable < SlackError; end class PaidOnly < SlackError; end class PaidTeamsOnly < 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 PostingToGeneralChannelDenied < SlackError; end class PreviewFeatureNotAvailable < SlackError; end @@ -415,10 +426,11 @@ 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 @@ -461,10 +473,11 @@ 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 TooManyEmails < SlackError; end class TooManyEmoji < SlackError; end @@ -615,18 +628,18 @@ 'channel_not_archived' => ChannelNotArchived, 'channel_not_found' => ChannelNotFound, 'channel_type_not_supported' => ChannelTypeNotSupported, 'client_id_token_mismatch' => ClientIdTokenMismatch, 'code_already_used' => CodeAlreadyUsed, - 'compliance_exports_prevent_deletion' => ComplianceExportsPreventDeletion, 'connection_limit_exceeded' => ConnectionLimitExceeded, 'connection_limit_exceeded_pending' => ConnectionLimitExceededPending, 'could_not_archive_channel' => CouldNotArchiveChannel, 'could_not_convert_channel' => CouldNotConvertChannel, 'could_not_create_channel' => CouldNotCreateChannel, 'could_not_create_workspace' => CouldNotCreateWorkspace, 'could_not_delete_channel' => CouldNotDeleteChannel, + 'could_not_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, @@ -733,25 +746,29 @@ '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_date' => InvalidDate, 'invalid_duration' => InvalidDuration, 'invalid_email' => InvalidEmail, + 'invalid_emoji' => InvalidEmoji, 'invalid_emoji_not_allowed' => InvalidEmojiNotAllowed, + 'invalid_entity_id' => InvalidEntityId, 'invalid_event_context' => InvalidEventContext, 'invalid_external_id' => InvalidExternalId, 'invalid_form_data' => InvalidFormData, 'invalid_grant_type' => InvalidGrantType, 'invalid_group_provided' => InvalidGroupProvided, @@ -765,16 +782,18 @@ '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, @@ -786,10 +805,11 @@ '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_time' => InvalidTime, 'invalid_timestamp' => InvalidTimestamp, 'invalid_title' => InvalidTitle, 'invalid_token' => InvalidToken, @@ -812,10 +832,11 @@ '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_inactive' => IsInactive, 'is_pending_connected_to_org' => IsPendingConnectedToOrg, 'last_member' => LastMember, @@ -917,10 +938,13 @@ 'over_max_entity_limit' => OverMaxEntityLimit, 'over_pagination_limit' => OverPaginationLimit, 'pagination_not_available' => PaginationNotAvailable, 'paid_only' => PaidOnly, 'paid_teams_only' => PaidTeamsOnly, + 'parent_bookmark_disabled' => ParentBookmarkDisabled, + 'parent_with_link' => ParentWithLink, + 'partial_profile_set_failed' => PartialProfileSetFailed, 'permission_denied' => PermissionDenied, 'plan_upgrade_required' => PlanUpgradeRequired, 'policy_not_found' => PolicyNotFound, 'posting_to_general_channel_denied' => PostingToGeneralChannelDenied, 'preview_feature_not_available' => PreviewFeatureNotAvailable, @@ -930,10 +954,11 @@ '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, @@ -976,9 +1001,10 @@ '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_emails' => TooManyEmails, 'too_many_emoji' => TooManyEmoji,