--- description: Defines error handling and validation strategies within Ruby code in DragonRuby projects. globs: **/*.rb --- - Use exceptions for exceptional cases, not for control flow. - Implement proper error logging and user-friendly messages.