class

Krikri::PythonLookupRunner::LookupUnavailableError

Inherits Krikri::PythonLookupRunner::LookupError < Exception < Reference < Object

Distinguishes "the mechanism is not available on this controller" (kind: unavailable - the caller must keep the unchanged unknown- lookup fallback) from a dispatched plugin failure (any other kind

  • the caller surfaces the real error). Callers check unavailable? rather than matching the kind string themselves.

Constructors

new(kind : String, message : String)
Source

Instance methods

kind
Source
unavailable?

Whether no dispatch happened at all (the mechanism is absent on this controller, or the file declares no LookupModule) - the caller keeps its previous unknown-lookup behavior. False for kind "error": the plugin RAN and raised, which is a real lookup failure to surface, never an unknown-lookup condition.

Source