Module: Slack::Web::Api::Errors

Defined in:
lib/slack/web/api/errors.rb,
lib/slack/web/api/errors/slack_error.rb,
lib/slack/web/api/errors/too_many_requests_error.rb

Defined Under Namespace

Classes: AccountInactive, AlreadyArchived, AlreadyInChannel, AlreadyInTeam, AlreadyInTeamInvitedUser, AlreadyInvited, AlreadyPinned, AlreadyProcessed, AlreadyReacted, AlreadyStarred, AppManagementAppNotInstalledOnOrg, AppMissingActionUrl, AppRestrictedOrgWide, AsUserNotSupported, AutoProvisionFailure, BadClientSecret, BadImage, BadRedirectUri, BadTimestamp, BadTitle, BadToken, BadUrl, BadUsers, BotNotFound, CannotAddBot, CannotAddMoreChannelsToGroup, CannotAddMoreGroupsToChannel, CannotAddOthers, CannotAddOthersRecurring, CannotAddSlackbot, CannotCompleteOthers, CannotCompleteRecurring, CannotCreateDialog, CannotFindChannel, CannotFindMessage, CannotFindService, CannotInstallAnOrgInstalledApp, CannotModifyPrimaryOwner, CannotMoveLocalChannel, CannotParse, CannotParseAttachment, CannotPrompt, CannotResetBot, CannotResetPrimaryOwner, CannotUnfurlMessage, CannotUnfurlUrl, CannotUpdateAdminUser, CantArchiveGeneral, CantDelete, CantDeleteFile, CantDeleteMessage, CantInvite, CantInviteSelf, CantKickFromGeneral, CantKickSelf, CantLeaveGeneral, CantUpdateMessage, ChannelCannotBeUnshared, ChannelIsNotPrivate, ChannelNotFound, ChannelTypeNotSupported, ClientIdTokenMismatch, CodeAlreadyUsed, ComplianceExportsPreventDeletion, CouldNotCreateWorkspace, CouldNotSetTeamsForChannel, DefaultChannelRestricted, DefaultOrgWideChannel, DiscoverabilitySettingInvalid, DomainTaken, DuplicateChannelNotFound, DuplicateExternalId, DuplicateMessageNotFound, EditWindowClosed, EkmAccessDenied, EmojiNotFound, EnterpriseIsRestricted, ErrorBadFormat, ErrorBadNameI18n, ErrorBadUpload, ErrorBadWide, ErrorInvalidAlias, ErrorInvalidEmojiToRename, ErrorMissingName, ErrorNameTaken, ErrorNameTakenI18n, ErrorNoImage, ErrorTooBig, ExternalChannelMigrating, ExternallySharedOrDisconnectedChannel, FailedLookingUpUser, FailedSendingDialog, FailedToAddEmoji, FailedToAliasEmoji, FailedToFetchActiveTeam, FailedToFetchInfo, FailedToRemoveGroupUsers, FailedToRemoveUserFromWorkspace, FailedToRenameEmoji, FailedToSendInvite, FailedToSetDefaultChannels, FailedToSetDescription, FailedToSetDiscoverability, FailedToSetExpiration, FailedToSetIcon, FailedToSetName, FailedToSetUserToAdmin, FailedToSetUserToOwner, FailedToSetUserToRegular, FailedToUnlinkChannel, FailedToValidateCaller, FailedToValidateChannels, FailedToValidateCustomMessage, FailedToValidateExpiration, FailedToValidateTeam, FailureRemovingEmoji, FatalError, FeatureNotEnabled, FetchMembersFailed, FileCommentNotFound, FileDeleted, FileNotFound, FileNotShared, FileUnderReview, GroupAlreadyLinkedToChannel, GroupContainsOthers, GroupMustNotBeEmpty, GroupNotFound, HashConflict, InactiveCall, InternalError, InvalidActor, InvalidAppId, InvalidArgName, InvalidArguments, InvalidAttachments, InvalidAuth, InvalidBlocks, InvalidCallId, InvalidChannel, InvalidChannelId, InvalidChannelsLimit, InvalidCharset, InvalidClientId, InvalidCode, InvalidCreatedBy, InvalidCursor, InvalidEmail, InvalidExternalId, InvalidFormData, InvalidGrantType, InvalidLimit, InvalidName, InvalidNameMaxlength, InvalidNamePunctuation, InvalidNameRequired, InvalidNameSpecials, InvalidPermissions, InvalidPostType, InvalidPresence, InvalidProfile, InvalidRequest, InvalidRequestId, InvalidRoleForUser, InvalidScheduledMessageId, InvalidScope, InvalidStartTime, InvalidTargetTeam, InvalidTeamIds, InvalidTime, InvalidTimestamp, InvalidTrigger, InvalidTsLatest, InvalidTsOldest, InvalidTypes, InvalidUnfurlsFormat, InvalidUrl, InvalidUser, InvalidUserCombination, InvalidUsers, InvitedUserNotCreated, InvitedUserNotReactivated, InviteeCantSeeChannel, IsArchived, IsBot, IsInactive, LastMember, LimitRequired, LinkNotFound, MessageNotFound, MethodDeprecated, MethodNotSupportedForChannelType, MigrationInProgress, MissingArgument, MissingChannel, MissingDialog, MissingDuration, MissingPostType, MissingResource, MissingScope, MissingTrigger, MissingTs, MissingUnfurls, MixedScope, MsgTooLong, MustProvideTeamDomain, MustProvideTeamName, NameTaken, NameTakenInOrg, NoAliasSelected, NoBotUserForApp, NoChannel, NoImageUploaded, NoItemSpecified, NoPermission, NoReaction, NoSuchSubteam, NoTeamIdsGiven, NoText, NoUser, NoUserProvided, NotAdmin, NotAllowed, NotAllowedTokenType, NotAnAdmin, NotAnEnterprise, NotAppAdmin, NotArchived, NotAuthed, NotAuthorized, NotBearerToken, NotEnabled, NotEnoughUsers, NotEnterpriseTeam, NotFound, NotImplemented, NotInChannel, NotInDnd, NotInGroup, NotPinnable, NotPinned, NotReactable, NotStarred, OauthAuthorizationUrlMismatch, OrgLoginRequired, OverPaginationLimit, PaginationNotAvailable, PaidOnly, PermissionDenied, PlanUpgradeRequired, PostingToGeneralChannelDenied, PreviewFeatureNotAvailable, ProfileSetFailed, PublicVideoNotAllowed, PushLimitReached, RateLimited, Ratelimited, RequestAlreadyResolved, RequestIdOrAppIdIsRequired, RequestIdRequiredForCustomIntegrations, RequestTimeout, ReservedName, ResizedButStillTooLarge, RestrictedAction, RestrictedActionNonThreadableChannel, RestrictedActionReadOnlyChannel, RestrictedActionThreadOnlyChannel, RtmConnectRequired, SentRecently, SlackError, SnoozeEndFailed, SnoozeFailed, SnoozeNotActive, TeamAddedToOrg, TeamNotFound, ThreadNotFound, TimeInPast, TimeTooFar, TokenRevoked, TooLarge, TooLong, TooManyAttachments, TooManyConvosForAppOnTeam, TooManyConvosForTeam, TooManyEmoji, TooManyFrames, TooManyIds, TooManyIdsProvided, TooManyReactions, TooManyRequestsError, TooManyTargetTeams, TooManyTeamsProvided, TooManyUsers, TriggerExchanged, TriggerExpired, UnableToLeaveLastTeam, UnableToLinkIdpGroupAndChannel, UnableToUnlinkIdpGroupAndChannel, UnknownMethod, UnknownType, UnsupportedArguments, UpdateFailed, UraMaxChannels, UserAlreadyDeleted, UserAlreadyTeamMember, UserDisabled, UserDoesNotOwnChannel, UserIsAlreadyDeleted, UserIsBot, UserIsNotAGuest, UserIsRestricted, UserIsUltraRestricted, UserNotFound, UserNotInChannel, UserNotVisible, UserSessionResetFailed, UsergroupNotFound, UsergroupNotLinkedToTeam, UsergroupTeamNotProvisioned, UsersListNotSupplied, UsersNotFound, ValidationErrors, ViewTooLarge

Constant Summary collapse

ERROR_CLASSES =
{
  'account_inactive' => AccountInactive,
  'already_archived' => AlreadyArchived,
  'already_in_channel' => AlreadyInChannel,
  'already_in_team' => AlreadyInTeam,
  'already_in_team_invited_user' => AlreadyInTeamInvitedUser,
  'already_invited' => AlreadyInvited,
  'already_pinned' => AlreadyPinned,
  'already_processed' => AlreadyProcessed,
  'already_reacted' => AlreadyReacted,
  'already_starred' => AlreadyStarred,
  'app_management_app_not_installed_on_org' => AppManagementAppNotInstalledOnOrg,
  'app_missing_action_url' => AppMissingActionUrl,
  'app_restricted_org_wide' => AppRestrictedOrgWide,
  'as_user_not_supported' => AsUserNotSupported,
  'auto_provision_failure' => AutoProvisionFailure,
  'bad_client_secret' => BadClientSecret,
  'bad_image' => BadImage,
  'bad_redirect_uri' => BadRedirectUri,
  'bad_timestamp' => BadTimestamp,
  'bad_title' => BadTitle,
  'bad_token' => BadToken,
  'bad_url' => BadUrl,
  'bad_users' => BadUsers,
  'bot_not_found' => BotNotFound,
  '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_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_modify_primary_owner' => CannotModifyPrimaryOwner,
  'cannot_move_local_channel' => CannotMoveLocalChannel,
  'cannot_parse' => CannotParse,
  'cannot_parse_attachment' => CannotParseAttachment,
  'cannot_prompt' => CannotPrompt,
  'cannot_reset_bot' => CannotResetBot,
  'cannot_reset_primary_owner' => CannotResetPrimaryOwner,
  'cannot_unfurl_message' => CannotUnfurlMessage,
  'cannot_unfurl_url' => CannotUnfurlUrl,
  'cannot_update_admin_user' => CannotUpdateAdminUser,
  'cant_archive_general' => CantArchiveGeneral,
  'cant_delete' => CantDelete,
  'cant_delete_file' => CantDeleteFile,
  'cant_delete_message' => CantDeleteMessage,
  'cant_invite' => CantInvite,
  'cant_invite_self' => CantInviteSelf,
  'cant_kick_from_general' => CantKickFromGeneral,
  'cant_kick_self' => CantKickSelf,
  'cant_leave_general' => CantLeaveGeneral,
  'cant_update_message' => CantUpdateMessage,
  'channel_cannot_be_unshared' => ChannelCannotBeUnshared,
  'channel_is_not_private' => ChannelIsNotPrivate,
  'channel_not_found' => ChannelNotFound,
  'channel_type_not_supported' => ChannelTypeNotSupported,
  'client_id_token_mismatch' => ClientIdTokenMismatch,
  'code_already_used' => CodeAlreadyUsed,
  'compliance_exports_prevent_deletion' => ComplianceExportsPreventDeletion,
  'could_not_create_workspace' => CouldNotCreateWorkspace,
  'could_not_set_teams_for_channel' => CouldNotSetTeamsForChannel,
  'default_channel_restricted' => DefaultChannelRestricted,
  'default_org_wide_channel' => DefaultOrgWideChannel,
  '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,
  'emoji_not_found' => EmojiNotFound,
  'enterprise_is_restricted' => EnterpriseIsRestricted,
  'error_bad_format' => ErrorBadFormat,
  'error_bad_name_i18n' => ErrorBadNameI18n,
  'error_bad_upload' => ErrorBadUpload,
  'error_bad_wide' => ErrorBadWide,
  'error_invalid_alias' => ErrorInvalidAlias,
  'error_invalid_emoji_to_rename' => ErrorInvalidEmojiToRename,
  'error_missing_name' => ErrorMissingName,
  'error_name_taken' => ErrorNameTaken,
  'error_name_taken_i18n' => ErrorNameTakenI18n,
  'error_no_image' => ErrorNoImage,
  'error_too_big' => ErrorTooBig,
  'external_channel_migrating' => ExternalChannelMigrating,
  'externally_shared_or_disconnected_channel' => ExternallySharedOrDisconnectedChannel,
  'failed_looking_up_user' => FailedLookingUpUser,
  'failed_sending_dialog' => FailedSendingDialog,
  'failed_to_add_emoji' => FailedToAddEmoji,
  'failed_to_alias_emoji' => FailedToAliasEmoji,
  'failed_to_fetch_active_team' => FailedToFetchActiveTeam,
  'failed_to_fetch_info' => FailedToFetchInfo,
  'failed_to_remove_group_users' => FailedToRemoveGroupUsers,
  'failed_to_remove_user_from_workspace' => FailedToRemoveUserFromWorkspace,
  'failed_to_rename_emoji' => FailedToRenameEmoji,
  'failed_to_send_invite' => FailedToSendInvite,
  'failed_to_set_default_channels' => FailedToSetDefaultChannels,
  'failed_to_set_description' => FailedToSetDescription,
  'failed_to_set_discoverability' => FailedToSetDiscoverability,
  'failed_to_set_expiration' => FailedToSetExpiration,
  'failed_to_set_icon' => FailedToSetIcon,
  'failed_to_set_name' => FailedToSetName,
  'failed_to_set_user_to_admin' => FailedToSetUserToAdmin,
  'failed_to_set_user_to_owner' => FailedToSetUserToOwner,
  'failed_to_set_user_to_regular' => FailedToSetUserToRegular,
  'failed_to_unlink_channel' => FailedToUnlinkChannel,
  'failed_to_validate_caller' => FailedToValidateCaller,
  'failed_to_validate_channels' => FailedToValidateChannels,
  'failed_to_validate_custom_message' => FailedToValidateCustomMessage,
  'failed_to_validate_expiration' => FailedToValidateExpiration,
  'failed_to_validate_team' => FailedToValidateTeam,
  'failure_removing_emoji' => FailureRemovingEmoji,
  'fatal_error' => FatalError,
  'feature_not_enabled' => FeatureNotEnabled,
  'fetch_members_failed' => FetchMembersFailed,
  'file_comment_not_found' => FileCommentNotFound,
  'file_deleted' => FileDeleted,
  'file_not_found' => FileNotFound,
  'file_not_shared' => FileNotShared,
  'file_under_review' => FileUnderReview,
  'group_already_linked_to_channel' => GroupAlreadyLinkedToChannel,
  'group_contains_others' => GroupContainsOthers,
  'group_must_not_be_empty' => GroupMustNotBeEmpty,
  'group_not_found' => GroupNotFound,
  'hash_conflict' => HashConflict,
  'inactive_call' => InactiveCall,
  'internal_error' => InternalError,
  'invalid_actor' => InvalidActor,
  'invalid_app_id' => InvalidAppId,
  'invalid_arg_name' => InvalidArgName,
  'invalid_arguments' => InvalidArguments,
  'invalid_attachments' => InvalidAttachments,
  'invalid_auth' => InvalidAuth,
  'invalid_blocks' => InvalidBlocks,
  'invalid_call_id' => InvalidCallId,
  'invalid_channel' => InvalidChannel,
  'invalid_channel_id' => InvalidChannelId,
  'invalid_channels_limit' => InvalidChannelsLimit,
  'invalid_charset' => InvalidCharset,
  'invalid_client_id' => InvalidClientId,
  'invalid_code' => InvalidCode,
  'invalid_created_by' => InvalidCreatedBy,
  'invalid_cursor' => InvalidCursor,
  'invalid_email' => InvalidEmail,
  'invalid_external_id' => InvalidExternalId,
  'invalid_form_data' => InvalidFormData,
  'invalid_grant_type' => InvalidGrantType,
  'invalid_limit' => InvalidLimit,
  'invalid_name' => InvalidName,
  'invalid_name_maxlength' => InvalidNameMaxlength,
  'invalid_name_punctuation' => InvalidNamePunctuation,
  'invalid_name_required' => InvalidNameRequired,
  'invalid_name_specials' => InvalidNameSpecials,
  'invalid_permissions' => InvalidPermissions,
  'invalid_post_type' => InvalidPostType,
  'invalid_presence' => InvalidPresence,
  'invalid_profile' => InvalidProfile,
  'invalid_request' => InvalidRequest,
  'invalid_request_id' => InvalidRequestId,
  'invalid_role_for_user' => InvalidRoleForUser,
  'invalid_scheduled_message_id' => InvalidScheduledMessageId,
  'invalid_scope' => InvalidScope,
  'invalid_start_time' => InvalidStartTime,
  'invalid_target_team' => InvalidTargetTeam,
  'invalid_team_ids' => InvalidTeamIds,
  'invalid_time' => InvalidTime,
  'invalid_timestamp' => InvalidTimestamp,
  'invalid_trigger' => InvalidTrigger,
  'invalid_ts_latest' => InvalidTsLatest,
  'invalid_ts_oldest' => InvalidTsOldest,
  'invalid_types' => InvalidTypes,
  'invalid_unfurls_format' => InvalidUnfurlsFormat,
  'invalid_url' => InvalidUrl,
  'invalid_user' => InvalidUser,
  'invalid_user_combination' => InvalidUserCombination,
  'invalid_users' => InvalidUsers,
  'invited_user_not_created' => InvitedUserNotCreated,
  'invited_user_not_reactivated' => InvitedUserNotReactivated,
  'invitee_cant_see_channel' => InviteeCantSeeChannel,
  'is_archived' => IsArchived,
  'is_bot' => IsBot,
  'is_inactive' => IsInactive,
  'last_member' => LastMember,
  'limit_required' => LimitRequired,
  'link_not_found' => LinkNotFound,
  'message_not_found' => MessageNotFound,
  'method_deprecated' => MethodDeprecated,
  'method_not_supported_for_channel_type' => MethodNotSupportedForChannelType,
  'migration_in_progress' => MigrationInProgress,
  'missing_argument' => MissingArgument,
  'missing_channel' => MissingChannel,
  'missing_dialog' => MissingDialog,
  'missing_duration' => MissingDuration,
  'missing_post_type' => MissingPostType,
  'missing_resource' => MissingResource,
  'missing_scope' => MissingScope,
  'missing_trigger' => MissingTrigger,
  'missing_ts' => MissingTs,
  'missing_unfurls' => MissingUnfurls,
  'mixed_scope' => MixedScope,
  'msg_too_long' => MsgTooLong,
  'must_provide_team_domain' => MustProvideTeamDomain,
  'must_provide_team_name' => MustProvideTeamName,
  'name_taken' => NameTaken,
  'name_taken_in_org' => NameTakenInOrg,
  'no_alias_selected' => NoAliasSelected,
  'no_bot_user_for_app' => NoBotUserForApp,
  'no_channel' => NoChannel,
  'no_image_uploaded' => NoImageUploaded,
  'no_item_specified' => NoItemSpecified,
  'no_permission' => NoPermission,
  'no_reaction' => NoReaction,
  'no_such_subteam' => NoSuchSubteam,
  'no_team_ids_given' => NoTeamIdsGiven,
  'no_text' => NoText,
  'no_user' => NoUser,
  'no_user_provided' => NoUserProvided,
  'not_admin' => NotAdmin,
  'not_allowed' => NotAllowed,
  '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_in_group' => NotInGroup,
  'not_pinnable' => NotPinnable,
  'not_pinned' => NotPinned,
  'not_reactable' => NotReactable,
  'not_starred' => NotStarred,
  'oauth_authorization_url_mismatch' => OauthAuthorizationUrlMismatch,
  'org_login_required' => OrgLoginRequired,
  'over_pagination_limit' => OverPaginationLimit,
  'pagination_not_available' => PaginationNotAvailable,
  'paid_only' => PaidOnly,
  'permission_denied' => PermissionDenied,
  'plan_upgrade_required' => PlanUpgradeRequired,
  'posting_to_general_channel_denied' => PostingToGeneralChannelDenied,
  'preview_feature_not_available' => PreviewFeatureNotAvailable,
  'profile_set_failed' => ProfileSetFailed,
  'public_video_not_allowed' => PublicVideoNotAllowed,
  'push_limit_reached' => PushLimitReached,
  'rate_limited' => RateLimited,
  'ratelimited' => Ratelimited,
  'request_already_resolved' => RequestAlreadyResolved,
  'request_id_or_app_id_is_required' => RequestIdOrAppIdIsRequired,
  'request_id_required_for_custom_integrations' => RequestIdRequiredForCustomIntegrations,
  'request_timeout' => RequestTimeout,
  'reserved_name' => ReservedName,
  'resized_but_still_too_large' => ResizedButStillTooLarge,
  'restricted_action' => RestrictedAction,
  'restricted_action_non_threadable_channel' => RestrictedActionNonThreadableChannel,
  'restricted_action_read_only_channel' => RestrictedActionReadOnlyChannel,
  'restricted_action_thread_only_channel' => RestrictedActionThreadOnlyChannel,
  'rtm_connect_required' => RtmConnectRequired,
  'sent_recently' => SentRecently,
  'snooze_end_failed' => SnoozeEndFailed,
  'snooze_failed' => SnoozeFailed,
  'snooze_not_active' => SnoozeNotActive,
  'team_added_to_org' => TeamAddedToOrg,
  'team_not_found' => TeamNotFound,
  'thread_not_found' => ThreadNotFound,
  'time_in_past' => TimeInPast,
  'time_too_far' => TimeTooFar,
  'token_revoked' => TokenRevoked,
  'too_large' => TooLarge,
  'too_long' => TooLong,
  'too_many_attachments' => TooManyAttachments,
  'too_many_convos_for_app_on_team' => TooManyConvosForAppOnTeam,
  'too_many_convos_for_team' => TooManyConvosForTeam,
  'too_many_emoji' => TooManyEmoji,
  'too_many_frames' => TooManyFrames,
  'too_many_ids' => TooManyIds,
  'too_many_ids_provided' => TooManyIdsProvided,
  'too_many_reactions' => TooManyReactions,
  'too_many_target_teams' => TooManyTargetTeams,
  'too_many_teams_provided' => TooManyTeamsProvided,
  'too_many_users' => TooManyUsers,
  'trigger_exchanged' => TriggerExchanged,
  'trigger_expired' => TriggerExpired,
  '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,
  'update_failed' => UpdateFailed,
  'ura_max_channels' => UraMaxChannels,
  'user_already_deleted' => UserAlreadyDeleted,
  'user_already_team_member' => UserAlreadyTeamMember,
  'user_disabled' => UserDisabled,
  'user_does_not_own_channel' => UserDoesNotOwnChannel,
  'user_is_already_deleted' => UserIsAlreadyDeleted,
  'user_is_bot' => UserIsBot,
  'user_is_not_a_guest' => UserIsNotAGuest,
  'user_is_restricted' => UserIsRestricted,
  'user_is_ultra_restricted' => UserIsUltraRestricted,
  'user_not_found' => UserNotFound,
  'user_not_in_channel' => UserNotInChannel,
  'user_not_visible' => UserNotVisible,
  'user_session_reset_failed' => UserSessionResetFailed,
  'usergroup_not_found' => UsergroupNotFound,
  'usergroup_not_linked_to_team' => UsergroupNotLinkedToTeam,
  'usergroup_team_not_provisioned' => UsergroupTeamNotProvisioned,
  'users_list_not_supplied' => UsersListNotSupplied,
  'users_not_found' => UsersNotFound,
  'validation_errors' => ValidationErrors,
  'view_too_large' => ViewTooLarge,
}.freeze