Exception: SpecGuard::RSpec::ValidatorError

Inherits:
Error
  • Object
show all
Defined in:
lib/specguard/rspec.rb

Overview

The opt-in Go validator backend could not produce a verdict — the binary named by SPECGUARD_VALIDATE_INTENT is missing, will not execute, exited with a code that is not a verdict, or emitted something this cannot read as a report.

Typed separately from UsageError because the two are different accusations ("you invoked me wrongly" vs "the tool I was told to use is broken"), and rescued beside it in CLI#run because the answer to both is the same and non-negotiable: exit 2, never 1. See ValidatorBackend.