Exception: Shojiku::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shojiku/errors.rb

Overview

The base of everything this gem raises.

Raising is deliberately rare here. A template that will not render, a key that will not sign, a signature that does not verify are OUTCOMES — they come back as Result objects you query, never as exceptions you rescue. What is left for exceptions is what every Ruby library reserves them for: programmer misuse, and an environment that cannot host the engine at all.