Exception: RatatuiRuby::Error

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

Overview

Base error class for RatatuiRuby.

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

Example

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

begin
  RatatuiRuby.run { |tui| ... }
rescue RatatuiRuby::Error => e
  puts "RatatuiRuby error: #{e.message}"
end

– SPDX-SnippetEnd ++

Direct Known Subclasses

Internal, Invariant, Safety, Terminal

Defined Under Namespace

Classes: Internal, Invariant, Safety, Terminal