pub fn subscribe(subscriber: impl Subscriber + 'static)Expand description
Registers a subscriber for every report of this Worker instance (Rails’ Rails.error.subscribe).
Call it from the start event (see the module documentation),
which runs once per instance; a second subscriber with the same
name replaces the first.
§Examples
ocre::errors::subscribe(ocre::errors::Sentry);