Exception: NoEntryNameError
- Inherits:
-
MakeEntryError
- Object
- RuntimeError
- JoinFixError
- MakeEntryError
- NoEntryNameError
- Defined in:
- lib/joinfix/error.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from MakeEntryError
Attributes inherited from JoinFixError
Instance Method Summary collapse
Methods inherited from MakeEntryError
Methods inherited from JoinFixError
Constructor Details
This class inherits a constructor from MakeEntryError
Instance Method Details
#advice ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/joinfix/error.rb', line 66 def advice %Q{ This error occurs when an entry is not named as in: --- john_doe: full_name: John Doe groups: # an entry name like 'admin_group' is missing here name: Administrators ... Or sometimes if you have an error in your YAML: --- john_doe: full_name: John Doe groups: - admin_group: name: Administrators - worker_group: name: Workers # this field is not properly indented ...} end |