Plexora

ResourceUnavailable

The node serving this resource cannot be reached right now.

Generated from Plexora 0.0.55View source
from plexora.api import ResourceUnavailable
ResourceUnavailable(message, node=None, resource=None)

Subclass of ResourceError.

Distinct from every other failure because it is the recoverable one: a laptop that went to sleep, a tunnel that dropped, a compute job that ended. Callers should degrade rather than fail outright -- report the resource unusable and name the node, but let the rest of the project keep working and let the next attempt re-validate.

Constructor parameters

messagestrrequired

What went wrong, as shown to the user.

nodestrdefault None

Which node was unreachable.

resourcestrdefault None

Which resource on that node was being read.