Class: Cuprum::Cli::Errors::Files::FileNotWriteable
- Parent Namespace
- Cuprum::Cli::Errors::Files
- Inherited Classes
- Cuprum::Error
>
Object
- Defined In
- lib/cuprum/cli/errors/files/file_not_writeable.rb
Table Of Contents
Overview
Error returned when attempting to generate a file in an invalid location.
Back To Top
Constants
TYPE
= 'cuprum.cli.errors.files.file_not_writeable'
Short string used to identify the type of error.
Back To Top
Constructor
#initialize(file_path:, message: nil, reason: nil) => FileNotWriteable
Parameters
- file_path (String) — the path to the expected file.
- message (String) — message describing the nature of the error.
- reason (String) — additional details on the error.
Returns
- (FileNotWriteable) — a new instance of FileNotWriteable
Back To Top
Instance Attributes
#file_path => String (readonly)
Returns
- (String) — the path to the expected file.
#reason => String (readonly)
Returns
- (String) — additional details on the error.
Back To Top
Instance Methods
Back To Top
Back to
Documentation |
Reference
|
Cuprum
|
Cuprum::Cli
|
Cuprum::Cli::Errors
|
Cuprum::Cli::Errors::Files