enum | dpp::exception_error_code {
dpp::err_no_code_specified = 0,
dpp::err_zlib_see_errno = -1,
dpp::err_zlib_init_stream = -2,
dpp::err_zlib_init_data = -3,
dpp::err_zlib_init_mem = -4,
dpp::err_zlib_init_buffer = -5,
dpp::err_zlib_init_version = -6,
dpp::err_opus_bad_arg = -11,
dpp::err_opus_buffer_too_small = -12,
dpp::err_opus_internal_error = -13,
dpp::err_opus_invalid_packet = -14,
dpp::err_opus_unimplemented = -15,
dpp::err_opus_invalid_state = -16,
dpp::err_opus_alloc_fail = -17,
dpp::err_dns_bad_flags = -21,
dpp::err_name_or_service_unknown = -22,
dpp::err_dns_again = -23,
dpp::err_dns_fail = -24,
dpp::err_dns_family = -26,
dpp::err_dns_socket_type = -27,
dpp::err_dns_service = -28,
dpp::err_dns_memory = -30,
dpp::err_dns_system_error = -31,
dpp::err_dns_overflow = -32,
dpp::err_ssl_new = 1,
dpp::err_ssl_connect = 2,
dpp::err_write = 3,
dpp::err_ssl_write = 4,
dpp::err_no_sessions_left = 5,
dpp::err_auto_shard = 6,
dpp::err_reconnection = 7,
dpp::err_bind_failure = 8,
dpp::err_nonblocking_failure = 9,
dpp::err_voice_terminating = 10,
dpp::err_connect_failure = 11,
dpp::err_ssl_context = 12,
dpp::err_ssl_version = 13,
dpp::err_invalid_socket = 14,
dpp::err_socket_error = 15,
dpp::err_websocket_proto_already_set = 16,
dpp::err_command_handler_not_ready = 17,
dpp::err_no_owning_message = 18,
dpp::err_cancelled_event = 19,
dpp::err_event_status = 20,
dpp::err_event_start_time = 21,
dpp::err_event_end_time = 22,
dpp::err_command_has_caps = 23,
dpp::err_choice_autocomplete = 24,
dpp::err_interaction = 25,
dpp::err_too_many_component_rows = 26,
dpp::err_invalid_webhook = 27,
dpp::err_voice_state_timestamp = 28,
dpp::err_no_voice_support = 29,
dpp::err_invalid_voice_packet_length = 30,
dpp::err_opus = 31,
dpp::err_sodium = 32,
dpp::err_etf = 33,
dpp::err_cache = 34,
dpp::err_icon_size = 35,
dpp::err_massive_audio = 36,
dpp::err_unknown = 37,
dpp::err_bad_request = 400,
dpp::err_unauthorized = 401,
dpp::err_payment_required = 402,
dpp::err_forbidden = 403,
dpp::err_not_found = 404,
dpp::err_method_not_allowed = 405,
dpp::err_not_acceptable = 406,
dpp::err_proxy_auth_required = 407,
dpp::err_request_timeout = 408,
dpp::err_conflict = 409,
dpp::err_gone = 410,
dpp::err_length_required = 411,
dpp::err_precondition_failed = 412,
dpp::err_payload_too_large = 413,
dpp::err_uri_too_long = 414,
dpp::err_unsupported_media_type = 415,
dpp::err_range_not_satisfiable = 416,
dpp::err_expectation_failed = 417,
dpp::err_im_a_teapot = 418,
dpp::err_page_expired = 419,
dpp::err_twitter_rate_limited = 420,
dpp::err_misdirected_request = 421,
dpp::err_unprocessable_content = 422,
dpp::err_webdav_locked = 423,
dpp::err_webdav_failed_dependency = 424,
dpp::err_too_early = 425,
dpp::err_upgrade_required = 426,
dpp::err_precondition_required = 428,
dpp::err_rate_limited = 429,
dpp::err_request_headers_too_large = 431,
dpp::err_page_blocked = 450,
dpp::err_unavailable_for_legal_reasons = 451,
dpp::err_http_request_on_https_port = 497,
dpp::err_internal_server_error = 500,
dpp::err_not_implemented = 501,
dpp::err_bad_gateway = 502,
dpp::err_service_unavailable = 503,
dpp::err_gateway_timeout = 504,
dpp::err_http_version_not_supported = 505,
dpp::err_variant_also_negotiates = 506,
dpp::err_webdav_insufficient_storage = 507,
dpp::err_webdav_loop_detected = 508,
dpp::err_bandwidth_limit_exceeded = 509,
dpp::err_not_extended = 510,
dpp::err_network_auth_required = 511,
dpp::err_web_server_down = 521,
dpp::err_connection_timed_out = 522,
dpp::err_origin_unreachable = 523,
dpp::err_timeout = 524,
dpp::err_ssl_handshake_failed = 525,
dpp::err_invalid_ssl_certificate = 526,
dpp::err_railgun = 527,
dpp::err_cloudflare = 530,
dpp::err_websocket_unknown = 4000,
dpp::err_websocket_bad_opcode = 4001,
dpp::err_websocket_decode = 4002,
dpp::err_websocket_not_authenticated = 4003,
dpp::err_websocket_authentication_failed = 4004,
dpp::err_websocket_already_authenticated = 4005,
dpp::err_websocket_invalid_seq_number = 4007,
dpp::err_websocket_rate_limited = 4008,
dpp::err_websocket_session_timeout = 4009,
dpp::err_websocket_invalid_shard = 4010,
dpp::err_websocket_sharding_required = 4011,
dpp::err_websocket_invalid_api_version = 4012,
dpp::err_websocket_invalid_intents = 4013,
dpp::err_websocket_disallowed_intents = 4014,
dpp::err_websocket_voice_disconnected = 4014,
dpp::err_websocket_voice_server_crashed = 4015,
dpp::err_websocket_voice_unknown_encryption = 4016,
dpp::err_compression_stream = 6000,
dpp::err_compression_data = 6001,
dpp::err_compression_memory = 6002,
dpp::err_unknown_account = 10001,
dpp::err_unknown_application = 10002,
dpp::err_unknown_channel = 10003,
dpp::err_unknown_guild = 10004,
dpp::err_unknown_integration = 10005,
dpp::err_unknown_invite = 10006,
dpp::err_unknown_member = 10007,
dpp::err_unknown_message = 10008,
dpp::err_unknown_permission_overwrite = 10009,
dpp::err_unknown_provider = 10010,
dpp::err_unknown_role = 10011,
dpp::err_unknown_token = 10012,
dpp::err_unknown_user = 10013,
dpp::err_unknown_emoji = 10014,
dpp::err_unknown_webhook = 10015,
dpp::err_unknown_webhook_service = 10016,
dpp::err_unknown_session = 10020,
dpp::err_unknown_ban = 10026,
dpp::err_unknown_sku = 10027,
dpp::err_unknown_store_listing = 10028,
dpp::err_unknown_entitlement = 10029,
dpp::err_unknown_build = 10030,
dpp::err_unknown_lobby = 10031,
dpp::err_unknown_branch = 10032,
dpp::err_unknown_store_directory_layout = 10033,
dpp::err_unknown_redistributable = 10036,
dpp::err_unknown_gift_code = 10038,
dpp::err_unknown_stream = 10049,
dpp::err_unknown_premium_server_subscribe_cooldown = 10050,
dpp::err_unknown_guild_template = 10057,
dpp::err_unknown_discoverable_server_category = 10059,
dpp::err_unknown_sticker = 10060,
dpp::err_unknown_interaction = 10062,
dpp::err_unknown_application_command = 10063,
dpp::err_unknown_voice_state = 10065,
dpp::err_unknown_application_command_permissions = 10066,
dpp::err_unknown_stage_instance = 10067,
dpp::err_unknown_guild_member_verification_form = 10068,
dpp::err_unknown_guild_welcome_screen = 10069,
dpp::err_unknown_guild_scheduled_event = 10070,
dpp::err_unknown_guild_scheduled_event_user = 10071,
dpp::err_unknown_tag = 10087,
dpp::err_bots_cannot_use_this_endpoint = 20001,
dpp::err_only_bots_can_use_this_endpoint = 20002,
dpp::err_explicit_content = 20009,
dpp::err_unauthorized_for_application = 20012,
dpp::err_slowmode_rate_limit = 20016,
dpp::err_owner_only = 20018,
dpp::err_announcement_rate_limit = 20022,
dpp::err_under_minimum_age = 20024,
dpp::err_write_rate_limit = 20029,
dpp::err_stage_banned_words = 20031,
dpp::err_guild_premium_subscription_level_too_low = 20035,
dpp::err_guilds = 30001,
dpp::err_friends = 30002,
dpp::err_pins_for_the_channel = 30003,
dpp::err_recipients = 30004,
dpp::err_guild_roles = 30005,
dpp::err_webhooks = 30007,
dpp::err_emojis = 30008,
dpp::err_reactions = 30010,
dpp::err_group_dms = 30011,
dpp::err_guild_channels = 30013,
dpp::err_attachments_in_a_message = 30015,
dpp::err_invites = 30016,
dpp::err_animated_emojis = 30018,
dpp::err_server_members = 30019,
dpp::err_server_categories = 30030,
dpp::err_guild_already_has_a_template = 30031,
dpp::err_application_commands = 30032,
dpp::err_thread_participants = 30033,
dpp::err_daily_application_command_creates = 30034,
dpp::err_bans_for_non_guild_members_have_been_exceeded = 30035,
dpp::err_bans_fetches = 30037,
dpp::err_uncompleted_guild_scheduled_events = 30038,
dpp::err_stickers = 30039,
dpp::err_prune_requests = 30040,
dpp::err_guild_widget_settings_updates = 30042,
dpp::err_edits_to_messages_older_than_1_hour = 30046,
dpp::err_pinned_threads_in_a_forum_channel = 30047,
dpp::err_tags_in_a_forum_channel = 30048,
dpp::err_bitrate_is_too_high_for_channel_of_this_type = 30052,
dpp::err_premium_emojis = 30056,
dpp::err_webhooks_per_guild = 30058,
dpp::err_channel_permission_overwrites = 30060,
dpp::err_the_channels_for_this_guild_are_too_large = 30061,
dpp::err_unauthorized_invalid_token = 40001,
dpp::err_verify_your_account = 40002,
dpp::err_you_are_opening_direct_messages_too_fast = 40003,
dpp::err_send_messages_has_been_temporarily_disabled = 40004,
dpp::err_request_entity_too_large = 40005,
dpp::err_this_feature_has_been_temporarily_disabled_server_side = 40006,
dpp::err_the_user_is_banned_from_this_guild = 40007,
dpp::err_connection_has_been_revoked = 40012,
dpp::err_target_user_is_not_connected_to_voice = 40032,
dpp::err_this_message_has_already_been_crossposted = 40033,
dpp::err_an_application_command_with_that_name_already_exists = 40041,
dpp::err_application_interaction_failed_to_send = 40043,
dpp::err_cannot_send_a_message_in_a_forum_channel = 40058,
dpp::err_interaction_has_already_been_acknowledged = 40060,
dpp::err_tag_names_must_be_unique = 40061,
dpp::err_service_resource_is_being_rate_limited = 40062,
dpp::err_no_tags_available = 40066,
dpp::err_tag_required = 40067,
dpp::err_entitlement_already_granted = 40074,
dpp::err_missing_access = 50001,
dpp::err_invalid_account_type = 50002,
dpp::err_cannot_execute_action_on_a_dm_channel = 50003,
dpp::err_guild_widget_disabled = 50004,
dpp::err_cannot_edit_a_message_by_other_user = 50005,
dpp::err_cannot_send_empty_message = 50006,
dpp::err_cannot_send_messages_to_this_user = 50007,
dpp::err_cannot_send_messages_in_a_non_text_channel = 50008,
dpp::err_channel_verification_level_too_high = 50009,
dpp::err_oauth2_application_does_not_have_a_bot = 50010,
dpp::err_oauth2_application_limit = 50011,
dpp::err_invalid_oauth2_state = 50012,
dpp::err_permissions = 50013,
dpp::err_invalid_authentication_token = 50014,
dpp::err_note_was_too_long = 50015,
dpp::err_too_few_or_too_many_messages = 50016,
dpp::err_invalid_mfa_level = 50017,
dpp::err_invalid_pin = 50019,
dpp::err_invite_code_invalid = 50020,
dpp::err_system_message = 50021,
dpp::err_channel_type = 50024,
dpp::err_invalid_oauth2_access_token = 50025,
dpp::err_missing_required_oauth2_scope = 50026,
dpp::err_invalid_webhook_token = 50027,
dpp::err_invalid_role = 50028,
dpp::err_invalid_recipients = 50033,
dpp::err_too_old_to_bulk_delete = 50034,
dpp::err_invalid_form_body = 50035,
dpp::err_invite_error = 50036,
dpp::err_invalid_activity_action = 50039,
dpp::err_invalid_api_version_provided = 50041,
dpp::err_file_uploaded_exceeds_the_maximum_size = 50045,
dpp::err_invalid_file_uploaded = 50046,
dpp::err_cannot_self_redeem_this_gift = 50054,
dpp::err_invalid_guild = 50055,
dpp::err_invalid_sku = 50057,
dpp::err_invalid_request_origin = 50067,
dpp::err_invalid_message_type = 50068,
dpp::err_payment_source_required = 50070,
dpp::err_cannot_modify_a_system_webhook = 50073,
dpp::err_cannot_delete_a_channel_required_for_community_guilds = 50074,
dpp::err_cannot_edit_stickers_within_a_message = 50080,
dpp::err_invalid_sticker_sent = 50081,
dpp::err_tried_to_perform_an_operation_on_an_archived_thread = 50083,
dpp::err_invalid_thread_notification_settings = 50084,
dpp::err_before_value_is_earlier_than_the_thread_creation_date = 50085,
dpp::err_community_server_channels_must_be_text_channels = 50086,
dpp::err_bad_event_entity_type = 50091,
dpp::err_this_server_is_not_available_in_your_location = 50095,
dpp::err_monetization_enabled_in_order_to_perform_this_action = 50097,
dpp::err_more_boosts_to_perform_this_action = 50101,
dpp::err_the_request_body_contains_invalid_json = 50109,
dpp::err_owner_cannot_be_pending_member = 50131,
dpp::err_ownership_cannot_be_transferred_to_a_bot_user = 50132,
dpp::err_failed_to_resize_asset_below_the_maximum_size = 50138,
dpp::err_cannot_mix_subscription_and_non_subscription_roles_for_an_emoji = 50144,
dpp::err_cannot_convert_between_premium_emoji_and_normal_emoji = 50145,
dpp::err_uploaded_file_not_found = 50146,
dpp::err_voice_messages_do_not_support_additional_content = 50159,
dpp::err_voice_messages_must_have_a_single_audio_attachment = 50160,
dpp::err_voice_messages_must_have_supporting_metadata = 50161,
dpp::err_voice_messages_cannot_be_edited = 50162,
dpp::err_cannot_delete_guild_subscription_integration = 50163,
dpp::err_you_cannot_send_voice_messages_in_this_channel = 50173,
dpp::err_the_user_account_must_first_be_verified = 50178,
dpp::err_you_do_not_have_permission_to_send_this_sticker = 50600,
dpp::err_two_factor_is_required_for_this_operation = 60003,
dpp::err_no_users_with_discordtag_exist = 80004,
dpp::err_reaction_was_blocked = 90001,
dpp::err_user_cannot_use_burst_reactions = 90002,
dpp::err_application_not_yet_available = 110001,
dpp::err_api_resource_is_currently_overloaded = 130000,
dpp::err_the_stage_is_already_open = 150006,
dpp::err_cannot_reply_without_permission_to_read_message_history = 160002,
dpp::err_a_thread_has_already_been_created_for_this_message = 160004,
dpp::err_thread_is_locked = 160005,
dpp::err_active_threads = 160006,
dpp::err_active_announcement_threads = 160007,
dpp::err_invalid_json_for_uploaded_lottie_file = 170001,
dpp::err_uploaded_lotties_cannot_contain_rasterized_images = 170002,
dpp::err_sticker_maximum_framerate = 170003,
dpp::err_sticker_frame_count = 170004,
dpp::err_lottie_animation_dimensions = 170005,
dpp::err_sticker_frame_rate = 170006,
dpp::err_sticker_animation_duration = 170007,
dpp::err_cannot_update_a_finished_event = 180000,
dpp::err_failed_to_create_stage_needed_for_stage_event = 180002,
dpp::err_message_was_blocked_by_automatic_moderation = 200000,
dpp::err_title_was_blocked_by_automatic_moderation = 200001,
dpp::err_webhooks_posted_to_forum_channels_must_have_a_thread_name_or_thread_id = 220001,
dpp::err_webhooks_posted_to_forum_channels_cannot_have_both_a_thread_name_and_thread_id = 220002,
dpp::err_webhooks_can_only_create_threads_in_forum_channels = 220003,
dpp::err_webhook_services_cannot_be_used_in_forum_channels = 220004,
dpp::err_message_blocked_links = 240000,
dpp::err_cannot_enable_onboarding_requirements_are_not_met = 350000,
dpp::err_cannot_update_onboarding_below_requirements = 350001
} |