MCPcopy Create free account
hub / github.com/devoxin/Lavalink.py / create

Method create

lavalink/server.py:298–299  ·  view source on GitHub ↗
(cls, message: str, severity: Severity, cause: str, stacktrace: str = '')

Source from the content-addressed store, hash-verified

296
297 @classmethod
298 def create(cls, message: str, severity: Severity, cause: str, stacktrace: str = '') -> 'LoadResultError':
299 return cls({'message': message, 'severity': severity, 'cause': cause, 'causeStackTrace': stacktrace})
300
301 def __str__(self):
302 return f'{self.message}: {self.cause} ({self.severity})'

Callers 3

_joinFunction · 0.45
connectMethod · 0.45
create_playerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected