mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-21 07:02:26 +02:00
[+] Add Mail Server to the left menu. [+] Add Mail Server - WebMail (requires Mail Server upgrade 5.1) [+] Add WP Toolkit Plugin, Theme installation. [+] Add Mail Server Login info. [+] Add Mail Server WebMail One-click Login (requires Mail Server upgrade 5.2). [+] Redesigned Security - Firewall. [*] Optimized Mass Mail sending speed. [*] Optimized the CPU usage problem of aaPanel startup service. [-] Fix apache application, renew SSL issue. [-] Fix Let's Encrypt account registeration failed. [-] Fix openlitespeed using capital letters on domain name caused the website cannot be accessed issue. [-] Fix problem of failure to reset root password in some versions of MariaDB. [-] Fix an error in modifying Permission in some cases of MySQL. [-] Fix the Website category display problem.
26 lines
509 B
Python
26 lines
509 B
Python
# 异常类
|
|
# @author Zhj<2024/06/27>
|
|
|
|
# 提示类异常 会正常响应
|
|
class HintException(Exception):
|
|
pass
|
|
|
|
|
|
# 无授权异常
|
|
class NoAuthorizationException(HintException):
|
|
pass
|
|
|
|
|
|
# 面板错误异常
|
|
class PanelError(Exception):
|
|
'''
|
|
@name 面板通用异常对像
|
|
@author hwliang<2021-06-25>
|
|
'''
|
|
|
|
def __init__(self, value):
|
|
self.value = value
|
|
|
|
def __str__(self):
|
|
return ("An error occurred while the panel was running: {}".format(str(self.value)))
|