Exception: Batchwatch::BatchJobError
- Inherits:
-
StandardError
- Object
- StandardError
- Batchwatch::BatchJobError
- Defined in:
- lib/batchwatch/job.rb
Overview
Raised for a misuse of the job API that we must not paper over.
The measurement path fails open, because a lost telemetry call must never stand in the way of the user's job. The job path is different: it IS the user's job. If we cannot run it as asked - no submit before a result, no fallback to fall back to - a silent no-op would strand the caller waiting on a result that never comes. So we say it out loud instead.