Class: Cuprum::Cli::Errors::Files::TemplateNotResolved
- Parent Namespace
- Cuprum::Cli::Errors::Files
- Inherited Classes
- Cuprum::Cli::Errors::Files::TemplateError
>
Cuprum::Error
>
Object
- Defined In
- lib/cuprum/cli/errors/files/template_not_resolved.rb
Table Of Contents
Overview
Error returned when unable to resolve a template for a templated file.
Back To Top
Constants
TYPE
= 'cuprum.cli.errors.files.template_not_resolved'
Short string used to identify the type of error.
Back To Top
Constructor
#initialize(file_path:, details: nil, message: nil, options: {}) => TemplateNotResolved
Parameters
- file_path (String) — the file path for the templated file.
- details (String) — additional information about the error.
- message (String) — an optional message to display.
- options (Hash) — options used when attempting to resolve the
template.
Returns
- (TemplateNotResolved) — a new instance of TemplateNotResolved
Back To Top
Instance Attributes
#details => String (readonly)
- Inherited From
- Cuprum::Cli::Errors::Files::TemplateError
Returns
- (String) — additional information about the error.
#file_path => String (readonly)
Returns
- (String) — the file path for the templated file.
#options => Hash (readonly)
Returns
- (Hash) — options used when attempting to resolve the template.
#template_name => String (readonly)
- Inherited From
- Cuprum::Cli::Errors::Files::TemplateError
Returns
- (String) — the name of the rendered content, if any,
Back To Top
Instance Methods
Back To Top
Back to
Documentation |
Reference
|
Cuprum
|
Cuprum::Cli
|
Cuprum::Cli::Errors
|
Cuprum::Cli::Errors::Files