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

Method from_error

lavalink/server.py:356–357  ·  view source on GitHub ↗
(cls, error: LoadResultError)

Source from the content-addressed store, hash-verified

354
355 @classmethod
356 def from_error(cls, error: LoadResultError) -> 'LoadResult':
357 return cls(LoadType.ERROR, [], error=error)
358
359 @classmethod
360 def from_dict(cls, mapping: dict):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected