Exception: Clearbooks::InsufficientPrivledges
- Inherits:
-
ClearbooksError
- Object
- StandardError
- ClearbooksError
- Clearbooks::InsufficientPrivledges
- Defined in:
- lib/clearbooks/error/errors.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ InsufficientPrivledges
constructor
A new instance of InsufficientPrivledges.
- #to_s ⇒ Object
Methods inherited from ClearbooksError
Constructor Details
#initialize(path) ⇒ InsufficientPrivledges
Returns a new instance of InsufficientPrivledges.
140 141 142 |
# File 'lib/clearbooks/error/errors.rb', line 140 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ Object
144 145 146 147 148 |
# File 'lib/clearbooks/error/errors.rb', line 144 def to_s "You do not have permission to write to '#{@path}'! Please chown the " \ "path to the current user, chmod the permissions to include the " \ "user, or choose a different path." end |