Class: Cuprum::Cli::Files::Errors::TemplateError
- Parent Namespace
- Cuprum::Cli::Files::Errors
- Inherited Classes
- Cuprum::Error
>
Object
- Defined In
- lib/cuprum/cli/files/errors/template_error.rb
Table Of Contents
Overview
Error returned when an error occurs when generating templated content.
Back To Top
Direct Subclasses
Cuprum::Cli::Files::Errors::MissingParameter
Back To Top
Constants
TYPE
= 'cuprum.cli.files.errors.template_error'
Short string used to identify the type of error.
Back To Top
Constructor
#initialize(message:, details: nil, template_name: nil, **) => TemplateError
Parameters
- message (String) — message describing the nature of the error.
- details (String) — additional information about the error.
- template_name (String) — the name of the rendered content, if any,
Returns
- (TemplateError) — a new instance of TemplateError
Back To Top
Instance Attributes
#details => String (readonly)
Returns
- (String) — additional information about the error.
#template_name => String (readonly)
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::Files
|
Cuprum::Cli::Files::Errors