Class: Pakyow::Presenter::UnknownPage

Inherits:
Error
  • Object
show all
Defined in:
lib/pakyow/presenter/errors.rb

Direct Known Subclasses

ImplicitRenderingError

Instance Method Summary collapse

Instance Method Details

#contextual_messageObject



18
19
20
21
22
23
24
25
26
# File 'lib/pakyow/presenter/errors.rb', line 18

def contextual_message
  "    Pakyow couldn't render a view for `\#{String.normalize_path(@context)}`. Try creating a view template for this path:\n\n        frontend/pages\#{view_path}.html\n\n      * [Learn about view templates →](https://pakyow.com/docs/frontend/composition/)\n  MESSAGE\nend\n"