class RatatuiRuby::Error

Base error class for RatatuiRuby.

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

Example

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