Skip to main content

Module known

Module known 

Source
Expand description

Engine refusals QCode can put into a plain sentence.

An engine that refuses says why in its own words, and those words are written for someone who already knows containers: “short-name did not resolve to an alias”, “permission denied while trying to connect to the docker API”. A handful of these refusals come up again and again, and each of them has one thing the person can do about it. Those are recognised here, so a screen can say that thing first and keep the engine’s words underneath as the detail.

The matching is loose on purpose, the way detect reads a failed info: a release that rewords its sentence costs the person the plain sentence, never a wrong one, because anything not recognised is left as the engine’s own words.

Enums§

Known
A refusal QCode recognises, each asking one thing of the person.

Functions§

recognise
Which known refusal output is, if it is one.