mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-14 17:46:03 +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}'
|