Exception: Batchwatch::AuthError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/batchwatch/client.rb

Overview

Raised when an action REQUIRES a key and none is set.

The measurement path fails open - with no key it degrades silently, because a missing telemetry call must never stand in the way of the caller's job. But reading your own contributions is an EXPLICIT action against a per-key route: here a silent empty answer would be a lie - the caller reads "no contributions" when in truth there was nothing to read. So we say it out loud instead.