Exception: Rooibos::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rooibos/error.rb

Overview

Base error class for Rooibos.

All library-specific exceptions inherit from this class. Catch this to handle any Rooibos error generically.

Example

– SPDX-SnippetBegin SPDX-FileCopyrightText: 2026 Kerrick Long SPDX-License-Identifier: MIT-0 ++

begin
  Rooibos.run(MyApp)
rescue Rooibos::Error => e
  puts "Rooibos error: #{e.message}"
end

– SPDX-SnippetEnd ++

Direct Known Subclasses

Invariant

Defined Under Namespace

Classes: Invariant