mirror of
https://github.com/hypervortex/VH-Bombsquad-Modded-Server-Files
synced 2025-11-07 17:36:08 +00:00
19 lines
422 B
Python
19 lines
422 B
Python
|
|
# Released under the MIT License. See LICENSE for details.
|
||
|
|
#
|
||
|
|
"""Error related functionality."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from typing import TYPE_CHECKING
|
||
|
|
|
||
|
|
if TYPE_CHECKING:
|
||
|
|
pass
|
||
|
|
|
||
|
|
|
||
|
|
class RemoteError(Exception):
|
||
|
|
"""An error occurred on the other end of some connection."""
|
||
|
|
|
||
|
|
def __str__(self) -> str:
|
||
|
|
s = ''.join(str(arg) for arg in self.args)
|
||
|
|
return f'Remote Exception Follows:\n{s}'
|