This is maybe a duplicate of
JENKINS-34488 but I let you decide.
Our plugin (sonarqube) implements a SimpleBuildWrapper that can be used in a pipeline.
In the setUp method we are doing some configuration checks, and in case of a blocking issue we throw an new hudson.AbortException as mentioned by the JavaDoc.
When this exception is raised it fails the job with a cryptic error: