Exception: Rubydex::SkillError

Inherits:
Error
  • Object
show all
Defined in:
lib/rubydex/errors.rb

Overview

Raised by Skill.load when the file cannot be read, is missing frontmatter, has malformed YAML, or lacks the required name or description fields. Every failure to produce a Skill is a SkillError, so a caller rescues one class instead of the union of what File.read and Psych happen to raise.