src/eric7/RemoteServer/EricRequestCategory.py

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 11090
f5f5f5803935
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

# -*- 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