src/eric7/RemoteServer/EricRequestCategory.py

Mon, 24 Feb 2025 15:43:49 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 24 Feb 2025 15:43:49 +0100
branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
permissions
-rw-r--r--

Adjusted the code to the modified issue codes.

# -*- coding: utf-8 -*-

# Copyright (c) 2024 - 2025 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing an enum for the various service categories.
"""

import enum


class EricRequestCategory(enum.IntEnum):
    """
    Class defining the service categories of the eric remote server.
    """

    FileSystem = 0
    Project = 1
    Debugger = 2
    Coverage = 3
    EditorConfig = 4

    Echo = 252
    Server = 253
    Error = 254  # only sent by the server to report an issue
    Generic = 255

    # user/plugins may define own categories starting with this value
    UserCategory = 1024

eric ide

mercurial